Type Property

defaultCriticalSound

The default sound used for critical alerts.

Declaration

iOS, Mac Catalyst, watchOS
@property(class, copy, readonly, nonatomic) UNNotificationSound *defaultCriticalSound;
macOS
@property(class, copy, readonly, atomic) UNNotificationSound *defaultCriticalSound;

Discussion

Critical alerts ingore the mute switch and Do Not Disturb. They require a special entitlement issued by Apple.

See Also

Getting Critical Sounds

+ defaultCriticalSoundWithAudioVolume:

Creates a sound object that plays the default critical alert sound at the specified volume.

+ criticalSoundNamed:

Creates a custom sound object for critical alerts.

+ criticalSoundNamed:withAudioVolume:

Creates a custom sound object for critical alerts with the specified volume.