App get a local notification when it's in background, and then I killed it in switcher. When I tap the notification, the app relaunched with the launchOptions values nil,so I can't get any information about the local notification,what should I do? And more, if I get more than one local notification, how do I distinguish which notification I tapped? Thanks for any suggestion!
Asked
Active
Viewed 186 times
1 Answers
0
launchOptions values nil is due to that relaunching the app with XCode (in this case with the "Waiting for my MyApp to launch" option in Product->Scheme->Edit Scheme) deletes the notifications even if it is still displayed in the status bar, so just instead showing values in an alertView detail:XCode : why launchOptions in didFinishLaunchingWithOptions always nil?