Type Method

pictureInPictureButtonStopImageCompatibleWithTraitCollection:

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

Declaration

+ (UIImage *)pictureInPictureButtonStopImageCompatibleWithTraitCollection:(UITraitCollection *)traitCollection;

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

+ pictureInPictureButtonStartImageCompatibleWithTraitCollection:

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