isPictureInPictureSupported()
Returns a Boolean value that indicates whether the current device supports Picture in Picture.
Declaration
class func isPictureInPictureSupported() -> BoolMentioned in
Return Value
true if the current device supports Picture in Picture playback, otherwise false.
Discussion
If Picture in Picture isn’t supported on the current device, attempting to initialize a Picture in Picture controller returns nil.