Type Property

alert

The ability to display alerts.

Declaration

static var alert: UNAuthorizationOptions { get }

See Also

Options

static var badge: UNAuthorizationOptions

The ability to update the app’s badge.

static var sound: UNAuthorizationOptions

The ability to play sounds.

static var carPlay: UNAuthorizationOptions

The ability to display notifications in a CarPlay environment.

static var criticalAlert: UNAuthorizationOptions

The ability to play sounds for critical alerts.

static var providesAppNotificationSettings: UNAuthorizationOptions

An option indicating the system should display a button for in-app notification settings.

static var provisional: UNAuthorizationOptions

The ability to post noninterrupting notifications provisionally to the Notification Center.

static var announcement: UNAuthorizationOptions

The ability for Siri to automatically read out messages over AirPods.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software