---
title: "pictureInPictureButtonStopImage(compatibleWith:)"
framework: avkit
role: symbol
role_heading: Type Method
path: "avkit/avpictureinpicturecontroller/pictureinpicturebuttonstopimage(compatiblewith:)"
---

# pictureInPictureButtonStopImage(compatibleWith:)

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

## Declaration

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

## Parameters

- `traitCollection`: The trait collection that describes the image to retrieve. Pass nil to use traits that describe the main screen.

## Return Value

Return Value A system-default template image.

## See Also

### Retrieving Picture in Picture Template Images

- [pictureInPictureButtonStartImage](avkit/avpictureinpicturecontroller/pictureinpicturebuttonstartimage.md)
- [pictureInPictureButtonStopImage](avkit/avpictureinpicturecontroller/pictureinpicturebuttonstopimage.md)
- [pictureInPictureButtonStartImage(compatibleWith:)](avkit/avpictureinpicturecontroller/pictureinpicturebuttonstartimage(compatiblewith:).md)
