Instance Property


The default media selections for this asset’s media selection groups.


var preferredMediaSelection: AVMediaSelection { get }


Provides an instance of AVMediaSelection with the default selections for each of the assets media selection groups.

See Also

Finding Media Selections

var availableMediaCharacteristicsWithMediaSelectionOptions: [AVMediaCharacteristic]

An array of media characteristics for which a media selection option is available.

func mediaSelectionGroup(forMediaCharacteristic: AVMediaCharacteristic) -> AVMediaSelectionGroup?

Returns a media selection group object that contains one or more options with the specified media characteristic.

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