我有一堆 UILocalNotifications 但我只想删除给定索引路径中的某个,因此
[[UIApplication sharedApplication] cancelAllLocalNotifications];
不会为我工作。我知道我可以使用
[[UIApplication sharedApplication] cancelLocalNotification:UILocalNotification];
但是如何从给定的 NSIndexPath 获取 UILocalNotification?
谢谢。