Selects the media option in the specified media selection group.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 6.0+
The media selection option to select.
The media selection group containing the specified media selection option.
This method selects the
AVMedia in the specified
AVMedia and deselects all other options in that group. If the specified media selection option isn't a member of the specified media selection group, no change in state will be made. If the media selection group’s
allows property is set to
YES, you can pass
media argument to deselect all media selection options in the group.