Instance Property

pictureInPictureSuspended

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

Declaration

@property(nonatomic, readonly, getter=isPictureInPictureSuspended) BOOL pictureInPictureSuspended;

Discussion

Picture in Picture playback for your app is suspended when another app, typically FaceTime, is using the feature. In this state, your video playback is active but paused and offscreen. Your app’s PiP playback resumes automatically when the other app’s use of PiP finishes.

See Also

Accessing Picture in Picture State

+ isPictureInPictureSupported

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

pictureInPicturePossible

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

pictureInPictureActive

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software