Structurer
Structurer

Reputation: 694

Is cancelAllLocalNotifications App specific or for all local notifications

I'm working a bit with local notifications for the iPhone. All well so far and I'm just seeking confirmation about the cancelAllLocalNotifications.

Would it be correct that firing off a cancelAllLocalNotifications would cancel all SCHEDULED notifications ONLY FOR THIS APP?

E.g other (non scheduled) notifications in this app would still work and scheduled notifications in other apps would still remain. My logical mind say it should be so, just want to be sure.

Thanks

Upvotes: 1

Views: 735

Answers (2)

apoorv shah
apoorv shah

Reputation: 171

cancelAllNotification cancel first 64 notification of the system scheduled by application.

Upvotes: 1

rpetrich
rpetrich

Reputation: 32346

All calls to the local notifications API are restricted to the subset of notifications that your app has created.

Upvotes: 3

Related Questions