Enumeration

NSRemoteNotificationType

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

Declaration

typedef enum NSRemoteNotificationType : NSUInteger {
    ...
} NSRemoteNotificationType;

Topics

Interaction Types

NSRemoteNotificationTypeNone

The app should not display a badge.

NSRemoteNotificationTypeBadge

The app should display a badge.

NSRemoteNotificationTypeSound

The app should play a sound.

NSRemoteNotificationTypeAlert

The app should display an alert.

See Also

Managing Remote Notifications

- registerForRemoteNotifications

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

- unregisterForRemoteNotifications

Unregister for notifications received from Apple Push Notification service.

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).