Type Property

accessibilityTextHeadingLevel

A key for specifying the heading level of the text.

Declaration

static let accessibilityTextHeadingLevel: NSAttributedString.Key

Discussion

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