Instance Property

textStylingResolution

A string identifier indicating the degree of text styling to be applied to attributed strings vended by the object.

Declaration

var textStylingResolution: AVPlayerItemLegibleOutput.TextStylingResolution { get set }

Discussion

Valid values are described in Text Style Settings. An exception (invalidArgumentException) is raised if this property is set to any other value.

The default value is default, which indicates that attributed strings vended by the receiver includes the same level of styling information that would be used if the text was rendered by an instance of AVPlayerLayer.

See Also

Configuring Attributed-String Text Styling Settings

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