iOS push notification status

You must Login before you can answer or comment on any questions.

Is there a way to check to see if the user clicked do not allow for push notifications in iOS?

1 Answer

Accepted Answer

— answered 10 months ago by Kosso .
answer permalink
2 Comments
  • Thank you

    — commented 10 months ago by chris smashe

  • In my test app, this is true if registerForPushNotifications was used in the app to enable notifications, but it does not reflect what the user selected in the Notification Center. For example, if at the start of the app, you ask the user to accept notification, and they do - getRemoteNotificationsEnabled( ) will return true. However, if the user then changes the setting in the Notification Center to OFF, getRemoteNotificationsEnabled( ) will still return true. In fact, I know of no function that returns this status.

    — commented 10 months ago by Eric Folbrecht

Your Answer

Think you can help? Login to answer this question!