iOS - Local notifications - cancelAllLocalNotifications

假如想象 提交于 2019-12-06 04:57:17

The notifications created by other apps will not be affected.

From: Local and Push Notification Programming Guide

"You can cancel a specific scheduled notification by calling cancelLocalNotification: on the application object, and you can cancel all scheduled notifications by calling cancelAllLocalNotifications."

Although, this is probably not the best written sentence, the "on the application object" applies to cancelAllLocalNotifications as well as cancelLocalNotification.

Hope that helps!

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