In my app, I’m able to set UILocalNotification successfully.
If my app is not running and if I want to stop those notifications, how can I cancel or delete them?
Is there any way to close or stop or delete them?
In my app, I’m able to set UILocalNotification successfully. If my app is not
Share
You need to use cancelAllLocalNotifications:
Put it inside
Or in
if you wish to cancel them when your app is not active.
Or call it in any other timing.