A layout guide representing an area that will not be permanently obscured by fixed-position playback controls when they are visible.
SDK
- tvOS 11.0+
Framework
- AVKit
Declaration
var unobscuredContentGuide: UILayout Guide { get }
A layout guide representing an area that will not be permanently obscured by fixed-position playback controls when they are visible.
SDK
Framework
var unobscuredContentGuide: UILayout Guide { get }
var shows Playback Controls: Bool
A Boolean value that indicates whether the player view controller shows playback controls.
var playback Controls Include Info Views: Bool
A Boolean value that indicates whether the receiver shows information views when requested by the user.
var playback Controls Include Transport Bar: Bool
A Boolean value that indicates whether the receiver shows the transport bar and related controls.
var allows Picture In Picture Playback: Bool
A Boolean value that indicates whether the player view controller allows Picture in Picture playback on iPad.
var content Overlay View: UIView?
A view displayed between the video content and the playback controls.
var enters Full Screen When Playback Begins: Bool
A Boolean value that determines whether the player automatically displays in full screen when the play button is tapped.
var exits Full Screen When Playback Ends: Bool
A Boolean value that indicates whether the player exits full screen when playback ends.
var is Ready For Display: Bool
A Boolean value indicating that the first video frame, of the current item of the associated AVPlayer
object, is ready for display.
var video Bounds: CGRect
The current size and position of the video image as displayed within the bounds of the player view controller’s view.
var video Gravity: AVLayer Video Gravity
A string that specifies how the video is displayed within the bounds of the player view controller’s view.
var requires Linear Playback: Bool
A Boolean value that determines whether the user is allowed to skip media content.
var updates Now Playing Info Center: Bool
A Boolean value that indicates whether the player view controller updates the now playing info center.
var applies Preferred Display Criteria Automatically: Bool
A Boolean value that indicates whether the receiver automatically changes the screen's preferred display criteria to that of the asset being played.
var custom Info View Controller: UIView Controller?
A view controller that provides client-specific content and controls alongside system-provided information and settings panels.