Sets the audio session's aggregated I/O configuration preference.
- iOS 10.0+
- Mac Catalyst 13.0+
The aggregated I/O preference that you want to use.
On input, a pointer to an error object. If an error occurs, the pointer is set to an
NSErrorobject that describes the error. If you do not want error information, pass in nil.
YES if the preference was successfully changed, or
Starting with iOS 10,
AVCapture has changed its default audio input configuration on iPhones and iPads that support the Live Photos feature.
AVCapture, in its default audio input configuration (
YES), that need to guarantee the same behavior as previous versions of iOS should opt-out of this new behavior by setting the aggregated I/O preference to
Apps not using of
AVCapture, or using
AVCapture in its non-default configuration can ignore this preference. In these cases there is no change in behavior from previous versions of iOS.