angeleke
angeleke

Reputation: 219

Is it possible to handle the selected local notification when activing the app from iOS notification panel?

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

Answers (1)

Paramasivan Samuttiram
Paramasivan Samuttiram

Reputation: 3738

Did you check the below delegate method

- (void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification

Upvotes: 1

Related Questions