Remove a local notification from iPhone by Date

ios, iphone, uilocalnotification

Solution

scheduledLocalNotifications will give you the list of all scheduled notifications and use

`- (void)cancelLocalNotification:(UILocalNotification *)notification`

or you can cancel them all using:

 [[UIApplication sharedApplication] cancelAllLocalNotifications];

Problem

there is the possibility of a LocalNotification on the iPhone to load on a date? My problem is that I create an event for the notification but i release the object after creation. Or can I just create a new Object with the same data to delete my Notification? sorry for my english...

Original source