Contents

init(player:)

Declaration

init(player: AVPlayer?)

Parameters

  • player:

    The AVPlayer to build menus from, or nil for non-track-specific options only

Discussion

Creates an AVLegibleMediaOptionsMenuController with an optional player

When player is non-nil, both media tracks and caption appearance options will be included, otherwise, only caption appearance options.