I would like to show a UILocalNotification, but it will only be valid for 24 hours. At the end of 24 hours, I want the notification to “expire”; that is: the user can no longer see the obsolete notification. How can I do this?
I would like to show a UILocalNotification , but it will only be valid
Share
I’m referring to a notification that has already fired.
I believe that setting the badge to zero will clear out existing notifications. I will try to see whether this also clears local notifications (in addition to push notifications).