Instance Property

pixelBufferAttributes

The pixel buffer attributes of the video frames presented during playback.

Declaration

@property(nonatomic, copy) NSDictionary<NSString *,id> *pixelBufferAttributes;

See Also

Configuring the Player View Controller

showsPlaybackControls

A Boolean value that indicates whether the player view controller shows playback controls.

playbackControlsIncludeInfoViews

A Boolean value that indicates whether the player shows information views when requested by the user.

playbackControlsIncludeTransportBar

A Boolean value that indicates whether the player shows the transport bar and related controls.

allowsPictureInPicturePlayback

A Boolean value that indicates whether the player allows Picture in Picture playback.

contentOverlayView

A view displayed between the video content and the playback controls.

entersFullScreenWhenPlaybackBegins

A Boolean value that determines whether the player automatically displays in full screen when the user taps the play button.

exitsFullScreenWhenPlaybackEnds

A Boolean value that indicates whether the player exits full-screen mode when playback ends.

readyForDisplay

A Boolean value that indicates that the player item’s first video frame is ready for display.

videoBounds

The current size and position of the video image as displayed within the bounds of the player view controller’s view.

videoGravity

A string that specifies how the video displays within the bounds of the player view controller’s view.

requiresLinearPlayback

A Boolean value that determines whether the player allows the user to skip media content.

unobscuredContentGuide

A layout guide representing an area that won’t be permanently obscured by fixed-position playback controls when they’re visible.

updatesNowPlayingInfoCenter

A Boolean value that indicates whether the player view controller updates the Now Playing info center.

appliesPreferredDisplayCriteriaAutomatically

A Boolean value that indicates whether the player view controller automatically sets the screen’s display criteria to match that of the currently playing asset.

customInfoViewController

A view controller that provides client-specific content and controls alongside system-provided information and settings panels.

customOverlayViewController

A view controller that presents custom content over the player view controller’s view.