Applies automatic selection criteria for media that has the specified media characteristic.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
An instance of
AVPlayerthat specifies the selection criteria.
Media Selection Criteria
Criteria will be applied to an
AVPlayer instance when:
It is made ready to play.
Specific media selections are made by the
AVPlayerinstance using the method
select(_:in a different group. The automatic choice in one group may be influenced by a specific selection in another group.
Underlying system preferences change, e.g. system language, accessibility captions.
Specific selections made by the
AVPlayer instance using the method
select(_: method within any group will override automatic selection in that group until the player item receives a