Instance Property


A Boolean value that indicates whether another application is playing audio.


var secondaryAudioShouldBeSilencedHint: Bool { get }


The value is true when another application with a non-mixable audio session is playing audio.

Applications should use this property as a hint to silence audio that is secondary to the functionality of the application. For example, a game using ambient can use this property to decide to mute its soundtrack while leaving its sound effects unmuted.

See Also

Responding to Other Audio

var isOtherAudioPlaying: Bool

A Boolean value indicating whether another app is currently playing audio.

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