---
title: preferredPlayerViewFrame
framework: avkit
role: symbol
role_heading: Instance Property
path: avkit/avcontentproposalviewcontroller/preferredplayerviewframe
---

# preferredPlayerViewFrame

The preferred presentation frame of the player view while the content proposal is active.

## Declaration

```swift
var preferredPlayerViewFrame: CGRect { get }
```

## Mentioned in

Presenting Content Proposals in tvOS

## Discussion

Discussion This value defaults to a rectangle that represents the entire screen bounds, but custom view controllers may return a smaller rectangle, or zero to hide the player view completely. If you return a rectangle smaller that the full-screen bounds, the player view animates its frame to its new size and position.

## See Also

### Configuring the Proposal

- [contentProposal](avkit/avcontentproposalviewcontroller/contentproposal.md)
- [AVContentProposal](avkit/avcontentproposal.md)
- [dateOfAutomaticAcceptance](avkit/avcontentproposalviewcontroller/dateofautomaticacceptance.md)
- [playerLayoutGuide](avkit/avcontentproposalviewcontroller/playerlayoutguide.md)
