I set a local notification with key "notify" and know that i can delete it with below code but don't know how to declare 'notification' for key "notify" to delete it
[[UIApplication sharedApplication] cancelLocalNotification:notification];
I set a local notification with key "notify" and know that i can delete it with below code but don't know how to declare 'notification' for key "notify" to delete it
[[UIApplication sharedApplication] cancelLocalNotification:notification];
UILocalNotification implements the NSCoding protocol, so you could archive the notification and store it somewhere for the time that it didn't fired. When you need to cancel the notification, just iterate over your saved ones and look for the one with the name "notify".
HI JustSid
i need your help for this-
http://stackoverflow.com/questions/3968383/cancel-a-uilocalnotification