Contents

selectedMediaPresentationSettings(for:)

Indicates the media presentation settings that have most recently been selected for each AVMediaPresentationSelector of the AVCustomMediaSelectionScheme of the specified AVMediaSelectionGroup.

Declaration

func selectedMediaPresentationSettings(for mediaSelectionGroup: AVMediaSelectionGroup) -> [AVMediaPresentationSelector : Any]

Parameters

  • mediaSelectionGroup:

    An AVMediaSelectionGroup obtained from the receiver’s asset for which the currently selected media presentation settings are desired.

Return Value

A dictionary with AVMediaPresentationSelectors as keys and AVMediaPresentationSettings as values, providing the most recently selected setting for each selector or, if no setting has previously been selected, NSNull.

See Also

Selecting media options