Instance Property

allowsPictureInPictureMediaPlayback

A Boolean value that determines whether Picture in Picture playback is allowed from this view.

Declaration

var allowsPictureInPictureMediaPlayback: Bool { get set }

Discussion

The default value is true on devices that support Picture in Picture (PiP) mode and false on all other devices.

See Also

Managing Media Playback

var allowsInlineMediaPlayback: Bool

A Boolean value that determines whether HTML5 videos play inline or use the native full-screen controller.

var mediaPlaybackRequiresUserAction: Bool

A Boolean value that determines whether HTML5 videos can play automatically or require the user to start playing them.

var mediaPlaybackAllowsAirPlay: Bool

A Boolean value that determines whether Air Play is allowed from this view.