Instance Property

mediaPlaybackAllowsAirPlay

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

Declaration

var mediaPlaybackAllowsAirPlay: Bool { get set }

Discussion

The default value on both iPad and iPhone is true.

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 allowsPictureInPictureMediaPlayback: Bool

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