Type Method

pictureInPictureButtonStopImage(compatibleWith:)

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

Declaration

class func pictureInPictureButtonStopImage(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 stop template image.

Discussion

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

See Also

Retrieving Picture in Picture Template Images

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

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