My app, makes use of APN services. At first launch, it sends a
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
request. This triggers a system alert with permission request. No matter what the user chooses, it will be possible to change it from Settings, notification pane. The app gets the notifications and everything seems to work fine. Now I have been asked to place a switch inside the app to activate/deactivate push notifications from inside the app. I don't think this is possible, but before answering I'd like to get a confirmation. Is there a way to access (read and/or write) notification permissions related to a specific app from within the app itself (just like app defaults preferences)? Is there a way to delete the app from the list of the apps which need push notifications once it has been added due to the initial request? Thank you.
No comments:
Post a Comment