Reputation: 13
My application uses push notifications. It would be nice to show notifications status on the UI. Is it possible to read notification settings from iPhone settings application like my own application settings in settings bundle?
Upvotes: 1
Views: 802
Reputation: 16725
[[UIApplication sharedApplication] enabledRemoteNotificationTypes]
will give you a bitmask showing whether badges, sounds, and/or alerts are enabled for your app. (Note that this setting only affects remote notifications; local notifications are unaffected).
Otherwise, as rckoenes points out, you can't access any settings in your app.
Upvotes: 1