Enumeration

AVPlayerViewControlsStyle

Constants that specify which, if any, controls are displayed for the player view.

Declaration

enum AVPlayerViewControlsStyle : Int

Topics

Constants

case none

No playback controls are presented over the video content.

case inline

The playback controls are presented at the bottom of the player view and span the view’s width.

case floating

The playback controls are presented in a floating window over the video content. This style matches the look of the controls presented by QuickTime Player.

case minimal

This style presents minimal controls to play and pause playback.

See Also

Customizing the User Interface

var controlsStyle: AVPlayerViewControlsStyle

The player view’s controls style.

var showsFrameSteppingButtons: Bool

A Boolean property that determines if frame stepping buttons should be shown in the player view.

var showsSharingServiceButton: Bool

A Boolean property that determines if a sharing service button is displayed.

var showsFullScreenToggleButton: Bool

A Boolean property that determines if the full screen toggle button is displayed.

var contentOverlayView: NSView?

A view that adds additional custom views between the video content and the controls.

var actionPopUpButtonMenu: NSMenu?

An action pop-up button menu that is displayed by the player view.

var updatesNowPlayingInfoCenter: Bool

A Boolean value that indicates whether the player view controller updates the now playing info center.