Type Method

pictureInPictureButtonStartImage(compatibleWith:)

Returns the system default Picture in Picture start template image for use in your player’s Picture in Picture button.

Declaration

class func pictureInPictureButtonStartImage(compatibleWith traitCollection: UITraitCollection?) -> UIImage

Parameters

traitCollection

The trait collection describing the image to retrieve. Pass nil to use traits that describe the main screen.

Return Value

The system default start template image.

Discussion

You use this method to retrieve the system default Picture in Picture start button template image for use in your custom player interface.

See Also

Retrieving Picture in Picture Template Images

class func pictureInPictureButtonStopImage(compatibleWith: UITraitCollection?) -> UIImage

Returns the system default Picture in Picture stop template image for use in your player’s Picture in Picture button.