Type Method

isPictureInPictureSupported()

Indicates whether Picture in Picture is supported on the current device.

Declaration

class func isPictureInPictureSupported() -> Bool

Return Value

A Boolean value of true if Picture in Picture is supported on the current device, or false otherwise.

Discussion

If Picture in Picture is not supported on the current device, attempting to initialize a Picture in Picture controller returns a nil object.

See Also

Accessing Picture in Picture State

var isPictureInPicturePossible: Bool

A Boolean value that indicates whether the Picture in Picture playback is currently possible.

var isPictureInPictureActive: Bool

A Boolean value that indicates whether the controller’s Picture in Picture window is onscreen.

var isPictureInPictureSuspended: Bool

A Boolean value that indicates whether the controller’s Picture in Picture window is suspended.