---
title: preferredCustomMediaSelectionSchemes
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritem/preferredcustommediaselectionschemes
---

# preferredCustomMediaSelectionSchemes

Indicates the AVCustomMediaSelectionSchemes of AVMediaSelectionGroups of the receiver’s asset with which an associated UI implementation should configure its interface for media selection.

## Declaration

```swift
var preferredCustomMediaSelectionSchemes: [AVCustomMediaSelectionScheme] { get set }
```

## Discussion

Discussion Recommended usage: if use of a custom media selection scheme is desired, set this property before either replacing an AVPlayer’s current item with the receiver or adding the receiver to an AVQueuePlayer’s play queue. This will satisfy requirements of UI implementations that commit to a configuration of UI elements as the receiver becomes ready to play.

## See Also

### Selecting media options

- [select(_:for:)](avfoundation/avplayeritem/select(_:for:).md)
- [effectiveMediaPresentationSettings(for:)](avfoundation/avplayeritem/effectivemediapresentationsettings(for:).md)
- [selectMediaPresentationLanguage(_:for:)](avfoundation/avplayeritem/selectmediapresentationlanguage(_:for:).md)
- [selectedMediaPresentationLanguage(for:)](avfoundation/avplayeritem/selectedmediapresentationlanguage(for:).md)
- [selectedMediaPresentationSettings(for:)](avfoundation/avplayeritem/selectedmediapresentationsettings(for:).md)
- [currentMediaSelection](avfoundation/avplayeritem/currentmediaselection.md)
- [select(_:in:)](avfoundation/avplayeritem/select(_:in:).md)
- [selectMediaOptionAutomatically(in:)](avfoundation/avplayeritem/selectmediaoptionautomatically(in:).md)
