If when an app launches and registers with the Apple servers the user selects Don’t Allow when the app/os displays the dialog to inform the user that the app wishes to send push notifications, then does the registration process still proceed but the app never receives any notifications, or is the registration process aborted at that point?
In other words, could an app still register and receive a token from the push notification servers even if the user has declined, but it can’t actually be used for anything?
Unfortunately, no. The callback “application:didRegisterForRemoteNotificationsWithDeviceToken:” will not be called if the user does not approve the dialog and that’s the only way to retrieve the token.