Instance Property

isClosedCaptionDisplayEnabled

A Boolean value that indicates whether the player uses closed captioning.

Declaration

var isClosedCaptionDisplayEnabled: Bool { get set }

Discussion

Closed captions will be displayed if either:

  • Closed captions are present in the media and the value of closedCaptionDisplayEnabled is true, or

  • A media selection option representing a stream of closed captions is selected in the legible media selection group.