Returns the system default Picture in Picture stop template image for use in your player’s Picture in Picture button.
SDKs
- iOS 9.0+
- Mac Catalyst 13.0+
Framework
- AVKit
Declaration
class func pictureInPictureButtonStopImage(compatibleWith traitCollection: UITrait Collection?) -> 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.