Monday, 9 September 2013

Delete UILocalNotification from iOS Notification Center automatically

Delete UILocalNotification from iOS Notification Center automatically


I'm trying to send UILocalNotifications and delete them automatically
after a certain interval from the Notification Center.
My app sends information to users that in about 5 minutes since sending
would be irrelevant.
There are going to be at least 3 notifications a day.
Since the information of the notifications would be irrelevant in a few
minutes, it would be much better to delete those notifications from
Notification Center - because they would be irrelevant to the user.
Is there any way to achieve this? Sort kind of a "self-destruction" option
of local notifications?
Thank you!

No comments:

Post a Comment