Instance Property インスタンスプロパティ

accessibilityTextualContext

A named context that helps identify and classify the type of text inside an element.

Declaration 宣言

var accessibilityTextualContext: UIAccessibilityTextualContext? { get set }

Discussion 解説

The default value for this property is nil.

Assistive apps can use this property to select an appropriate way to output the text. For example, when encountering a source code context, VoiceOver can speak all punctuation.

To specify a substring within the textual context, use the UIAccessibilityTextAttributeContext attributed string key.

See Also 参照

Defining Accessibility Text and Language