Instance Property


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


@property(readonly, getter=isOtherAudioPlaying) BOOL otherAudioPlaying;


In iOS 8.0 and later applications should use secondaryAudioShouldBeSilencedHint instead of this property.

This property will be true if any other audio (including audio from an app using AVAudioSessionCategoryAmbient is playing, whereas the secondaryAudioShouldBeSilencedHint property is more restrictive in its consideration of whether primary audio from another application is playing.

See Also

Responding to Other Audio


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