Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. if (launchOptions) { //launchOptions is not nil
  2. NSDictionary *userInfo = [launchOptions valueForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
  3. NSDictionary *apsInfo = [userInfo objectForKey:@"aps"];
  4.  
  5. if (apsInfo) { //apsInfo is not nil
  6. [self performSelector:@selector(notificationClickedInNotificationPanel:)
  7. withObject:userInfo
  8. afterDelay:1];
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement