Delete a UILocalnotification at a certain indexpath
问题 I have a bunch of UILocalNotifications but I only want to delete a certain one at a given indexpath, therefor [[UIApplication sharedApplication] cancelAllLocalNotifications]; wont work out for me. I know I can use [[UIApplication sharedApplication] cancelLocalNotification:UILocalNotification]; but how do I get the UILocalNotification from the given NSIndexPath? Thanks. 回答1: You can get an array of scheduled notification from: @property(nonatomic,copy) NSArray *scheduledLocalNotifications Get