The authorization status to play sounds for critical alerts.
- iOS 12.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- watchOS 5.0+
UNNotification, this property authorizes the app to play critical sounds that ignore Do Not Disturb and the device’s mute switch.
For local notifications, the system attempts to play a critical sound when the
sound property of the
UNNotification object contains an object returned by the
default property, the
critical method, or a related method.
For remote notifications, the system attempts to play a critical sound when the notification’s payload contains a
sound directory that contains the
Critical alerts require a special entitlement issued by Apple.