Type Method

defaultCriticalSoundWithAudioVolume:

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

Declaration

+ (instancetype)defaultCriticalSoundWithAudioVolume:(float)volume;

Parameters

volume

The volume must be a value between 0.0 and 1.0.

Return Value

A sound object representing the default critical alert sound at the specified volume.

Discussion

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

See Also

Getting Critical Sounds

defaultCriticalSound

The default sound used for critical alerts.

+ criticalSoundNamed:

Creates a custom sound object for critical alerts.

+ criticalSoundNamed:withAudioVolume:

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

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