Instance Property requires Linear Playback
A Boolean value that determines whether the user is allowed to skip media content.
Declaration @property(nonatomic) BOOL requiresLinearPlayback;
If this value is
(the default), the
UI allows a user to fast forward, scrub, or skip ahead to content later in the player’s presentation. To prevent the user from skipping content—for example, while presenting a legal notice or other mandatory interstitial content—set this property’s value to
AVPlayer View Controller
To keep track of when the player is presenting content for which you might require linear playback, use the
property of the view controller’s player item. You can define the time ranges of the interstitial content and the view controller then sends interstitial Time Ranges and player View Controller: will Present Interstitial Time Range: messages to its player View Controller: did Present Interstitial Time Range: object when playing interstitial content. You can implement these callbacks to enable or disable the delegate
property as needed.
requires Linear Playback See Also Accessing Player View Controller Attributes shows Playback Controls
A Boolean value that indicates whether the player view controller shows playback controls.
ready For Display
A Boolean value indicating that the first video frame, of the current item of the associated
object, is ready for display. AVPlayer video Bounds
The current size and position of the video image as displayed within the bounds of the player view controller’s view.
A string that specifies how the video is displayed within the bounds of the player view controller’s view.
unobscured Content Guide
A layout guide representing an area that will not be permanently obscured by fixed-position playback controls when they are visible.
custom Info View Controller
A view controller that provides client-specific content and controls alongside system-provided information and settings panels.