Contents

showsFullScreenToggleButton

A Boolean value that determines whether the player view displays a full-screen toggle button.

Declaration

var showsFullScreenToggleButton: Bool { get set }

Discussion

This property is currently supported only with a controlsStyle of AVPlayerViewControlsStyle.floating or AVPlayerViewControlsStyle.inline.

The default value is false.

See Also

Customizing the user interface