Contents

isReadyForDisplay

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

Declaration

var isReadyForDisplay: Bool { get }

Discussion

Use this property to determine when to show or animate a player layer into view. You can display a player layer while this property value is false, but the layer doesn’t present any content until the value becomes true.

This property remains false for a player when its currentItem contains no enabled video tracks.

This property is key-value observable.