3
사용자가 푸시 알림을 탭할 때 앱이 열리지 않게하고 싶습니다. 어떻게해야합니까?사용자가 푸시 알림을 탭할 때 앱을 열지 못하게하는 방법
여기에 내가 가진 무엇 :
- (BOOL)application:(UIApplication *)application willFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSDictionary *notification = [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
if (notification != NULL){
// write code something like doesn't open app.
}
}