Delete local notification from iPhone by date

Is LocalNotification able to upload a date on iPhone? My problem is that I am creating an event for notification, but I am freeing the object after creation.

Or can I just create a new object with the same data to delete my notification?

sorry for my English...

+3
source share
1 answer

scheduleLocalNotifications will provide you with a list of all scheduled notifications and use

- (void)cancelLocalNotification:(UILocalNotification *)notification

or you can undo them all using:

 [[UIApplication sharedApplication] cancelAllLocalNotifications];
+12
source

All Articles