IOS Cancelling Local Notifications -
i dont asking vague questions couldnt tell problem is.
in app set daily local notifications. shooting everyday @ 200pm. later removed codes sets local notifications, , added push notification feature.
i test push , works (whenever want to). still old notifications well, because set them earlier somewhere on phone itself. there way cancel them without coding. example cancelled if remove app?
uninstalling app remove local notifications, although people have reported cached 24 hours (so if delete app, don't reinstall more 24 hours) see here more details.
otherwise, if still have access code can cancel local notifications this:
[[uiapplication sharedapplication] cancelalllocalnotifications];
Comments
Post a Comment