¡@

Home 

2014/10/15 ¤U¤È 10:08:10

iphone Programming Glossary: enabledremotenotificationtypes

objective c - Detect when user change the app's notifications settings

http://stackoverflow.com/questions/10191006/objective-c-detect-when-user-change-the-apps-notifications-settings

are alert sound and badges So when my app launch I call UIRemoteNotificationType types UIApplication sharedApplication enabledRemoteNotificationTypes and detect what the user chose. But how can I detect if the user change the settings later during the app life time Is there.. appsettings share improve this question There is no delegate. You need to query the UIApplication property enabledRemoteNotificationTypes periodically for example in applicationDidBecomeActive . For details check these answers Determine on iPhone if user has.. . For details check these answers Determine on iPhone if user has enabled push notifications View In Lock Screen and enabledRemoteNotificationTypes iOS5 Edit If you need to reset the push notification setting and the permission alert have a look at the Apple technical..

Enable or Disable Iphone Push Notifications inside the app

http://stackoverflow.com/questions/10510578/enable-or-disable-iphone-push-notifications-inside-the-app

Determine on iPhone if user has enabled push notifications

http://stackoverflow.com/questions/1535403/determine-on-iphone-if-user-has-enabled-push-notifications