I have a problem with my UILocalNotification.
I am scheduling the notification with my method.
- (void) sendNewNoteLocalReminder:(NSDate *)date a
My solution is to archive UILocalNotification object you have scheduled with NSKeyedArchiver and store it somewhere (in a plist is preferred). And then, when you want to to can cancel the notification, look up the plist for the correct data and use NSKeyedUnarchiver to unarchive. The code is pretty easy:
NSData *data = [NSKeyedArchiver archivedDataWithRootObject:notice];
and
UILocalNotification *notice = [NSKeyedUnarchiver unarchiveObjectWithData:data];