Instance Method

unregisterForRemoteNotifications

Unregister for notifications received from Apple Push Notification service.

Declaration

- (void)unregisterForRemoteNotifications;

Discussion

You should only call this method in rare circumstances, such as when a new version of the app drops support for remote notifications. Apps unregistered through this method can always re-register.

See Also

Managing Remote Notifications

- registerForRemoteNotifications

Register for notifications sent by Apple Push Notification service (APNs).

enabledRemoteNotificationTypes

The types of push notifications that the app accepts.

- registerForRemoteNotificationTypes:

Register to receive notifications of the specified types from a provider via Apple Push Notification service.

registeredForRemoteNotifications

A Boolean value indicating whether the app is registered with Apple Push Notification service (APNs).

NSRemoteNotificationType

These constants determine whether apps launched by remote notifications display a badge.