---
title: "playerViewController(_:shouldPresent:)"
framework: avkit
role: symbol
role_heading: Instance Method
path: "avkit/avplayerviewcontrollerdelegate/playerviewcontroller(_:shouldpresent:)"
---

# playerViewController(_:shouldPresent:)

Asks the delegate whether the player view controller presents a content proposal.

## Declaration

```swift
optional func playerViewController(_ playerViewController: AVPlayerViewController, shouldPresent proposal: AVContentProposal) -> Bool
```

## Parameters

- `playerViewController`: The player view controller.
- `proposal`: The content proposal to present.

## Mentioned in

Presenting Content Proposals in tvOS

## Return Value

Return Value true if the player view controller should propose the content; otherwise false.

## See Also

### Responding to Content Proposals

- [playerViewController(_:didAccept:)](avkit/avplayerviewcontrollerdelegate/playerviewcontroller(_:didaccept:).md)
- [playerViewController(_:didReject:)](avkit/avplayerviewcontrollerdelegate/playerviewcontroller(_:didreject:).md)
