Reputation: 219
When launching the app from a local notification you can use the application:didFinishLaunchingWithOptions: method of ApplicationDelegate to handle the notification, but this method is not called when you select the notification in the notifications panel and the app is in background.
Is there a way to handle the notification in that case?
I want to show a special viewcontroller when the app becomes active by this cause.
Thanks in advance!
Upvotes: 0
Views: 232
Reputation: 3738
Did you check the below delegate method
- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
Upvotes: 1