Structure

NSApplication.RemoteNotificationType

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

Declaration

struct RemoteNotificationType

Topics

Interaction Types

Initializers

init(rawValue: UInt)

Initializes a new remote notifications options structure.

Relationships

Conforms To

See Also

Managing Remote Notifications

func registerForRemoteNotifications()

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

func unregisterForRemoteNotifications()

Unregister for notifications received from Apple Push Notification service.

var enabledRemoteNotificationTypes: NSApplication.RemoteNotificationType

The types of push notifications that the app accepts.

func registerForRemoteNotifications(matching: NSApplication.RemoteNotificationType)

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

var isRegisteredForRemoteNotifications: Bool

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