The currently selected input data source.
- iOS 6.0+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The value of this property is
nil if switching between multiple input sources is not currently possible. This feature is supported only on certain devices and peripherals–for example, on an iPhone equipped with both front- and rear-facing microphones.
Working with Audio Routes
An object describing the current audio input and output route.
A Boolean value indicating whether an audio input path is available.
An array of available data sources for the audio session’s current input port.
An array of available output data sources for the current audio route.
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