preferredPlayerViewFrame
The preferred presentation frame of the player view while the content proposal is active.
Declaration
var preferredPlayerViewFrame: CGRect { get }Mentioned in
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.