user2761328
user2761328

Reputation: 13

Execute code after I open an UILocalNotification

How can I detect when an user click on a local notification and open my app?

Upvotes: 1

Views: 82

Answers (2)

LudoZik
LudoZik

Reputation: 917

Your app will be automatically launched : you don't have to do anything in your app.

Upvotes: 0

Abdullah Shafique
Abdullah Shafique

Reputation: 6918

Use this method in your app delegate:

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

}

Upvotes: 1

Related Questions