Enumeration Case

UNAuthorizationOptionCriticalAlert

The ability to play sounds for critical alerts.

Declaration

UNAuthorizationOptionCriticalAlert = (1 << 4)

Discussion

Critical alerts ignore the mute switch and Do Not Disturb; the system plays a critical alert's sound regardless of the device's mute or Do Not Disturb settings. You can specify a custom sound and volume.

Critical alerts require a special entitlement issued by Apple.

See Also

Options

UNAuthorizationOptionBadge

The ability to update the app’s badge.

UNAuthorizationOptionSound

The ability to play sounds.

UNAuthorizationOptionAlert

The ability to display alerts.

UNAuthorizationOptionCarPlay

The ability to display notifications in a CarPlay environment.

UNAuthorizationOptionProvidesAppNotificationSettings

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

UNAuthorizationOptionProvisional

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

UNAuthorizationOptionAnnouncement

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