Instance Property

currentMediaSelection

The current media selections for each of the receiver's media selection groups.

Declaration

var currentMediaSelection: AVMediaSelection { get }

See Also

Selecting Media Options

func select(AVMediaSelectionOption?, in: AVMediaSelectionGroup)

Selects a media option in a given media selection group and deselects all other options in that group.

func selectMediaOptionAutomatically(in: AVMediaSelectionGroup)

Selects the media option in the specified media selection group that best matches the receiver’s automatic selection criteria.

func selectedMediaOption(in: AVMediaSelectionGroup) -> AVMediaSelectionOption?

Returns the media selection option that's currently selected from the specified group.

Deprecated