IOS Cancelling Local Notifications

烂漫一生 提交于 2019-11-30 20:39:34
danielbeard

Uninstalling the app will remove the local notifications, although some people have reported that they are cached for up to 24 hours (so if you delete the app, don't reinstall it for more than 24 hours) See here for more details.

Otherwise, if you still have access to the code you can cancel all local notifications like this:

[[UIApplication sharedApplication] cancelAllLocalNotifications];
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!