Selects a media option in a given media selection group and deselects all other options in that group.
- iOS 5.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The option to select.
If the value of the
true, you can pass
nilto deselect all media selection options in the group.
The media selection group, obtained from the receiver's asset, that contains
media isn’t a member of the
media, no change in presentation state will result.
If multiple options within a group meet your criteria for selection according to locale or other considerations, and if these options are otherwise indistinguishable to you according to media characteristics that are meaningful for your application, content is typically authored so that the first available option that meets your criteria is appropriate for selection.