Type Property


A mode used for continuous spoken audio when you want to pause your audio when another app plays a short amount of spoken audio.


static let spokenAudio: AVAudioSession.Mode


In iOS 8 and earlier, and in iOS 9 if you don't set this mode, occasional spoken audio from navigation and exercise apps mixes with, or ducks, your audio, interfering with intelligibility of both apps. This mode avoids the problem by using the interruptSpokenAudioAndMixWithOthers audio session category option for the interrupting app. After the interrupting app’s audio ends, your interrupted spoken audio can resume.

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