Instance Property

textStyleRules

An array of text style rules to apply to WebVTT subtitles and other legible text.

Declaration

var textStyleRules: [AVTextStyleRule]? { get set }

Discussion

You can use this property to assign an array of AVTextStyleRule objects to control the formatting and presentation of WebVTT subtitles and other legible text.