开发者

Remove a local notification from iPhone by Date

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 engl开发者_如何学运维ish...


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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜