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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software