Contents

accessibilityTextHeadingLevel

A key for specifying the heading level of the text.

Declaration

nonisolated static let accessibilityTextHeadingLevel: NSAttributedString.Key

Discussion

The value of this key is an NSNumber object with a value that is a number in the range of 0 to 6. Use 0 to indicate the absence of a specific heading level, and use other numbers to indicate the heading level.

See Also

Getting accessibility attribute keys