Instance Property


A Boolean value that indicates whether the receiver should apply the current selection criteria automatically to player items.


var appliesMediaSelectionCriteriaAutomatically: Bool { get set }


By default, the AVPlayer instance applies selection criteria based on system accessibility preferences. To override the default criteria for any media selection group, use setMediaSelectionCriteria(_:forMediaCharacteristic:).

See Also

Configuring Media Selection Criteria Settings

func mediaSelectionCriteria(forMediaCharacteristic: AVMediaCharacteristic) -> AVPlayerMediaSelectionCriteria?

Returns the automatic selection criteria for media items with the specified media characteristic.

func setMediaSelectionCriteria(AVPlayerMediaSelectionCriteria?, forMediaCharacteristic: AVMediaCharacteristic)

Applies automatic selection criteria for media that has 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