Contents

pictureInPictureButtonStartImage(compatibleWith:)

Returns a system-default template image that’s compatible with a trait collection for the button that starts Picture in Picture in your app.

Declaration

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

Parameters

  • traitCollection:

    A trait collection that describes the image to retrieve. Pass nil to use traits that describe the main screen.

Return Value

A system-default template image.

See Also

Retrieving Picture in Picture Template Images