Contents

supportsPictureInPicturePlayback

A Boolean value that indicates whether your app can display content in a picture-in-picture format.

Declaration

var supportsPictureInPicturePlayback: Bool { get set }

Discussion

When this property is set to true, the system allows the user to continue watching your app’s video content while using other apps. If you customize playback with AVPlayerViewController, set the controller’s delegate property to an object that implements the AVPlayerViewControllerDelegate protocol and the system will notify that object about picture-in-picture playback events.

The default value is true.

See Also

Providing Launch Information