Instance Method インスタンスメソッド

accessibilityTextContentType(_:)

Sets an accessibility text content type.

Declaration 宣言

func accessibilityTextContentType(_ value: AccessibilityTextContentType) -> Text

Parameters パラメータ

value

The accessibility content type from the available AccessibilityTextContentType options.

Discussion 議論

Use this modifier to set the content type of this accessibility element. Assistive technologies can use this property to choose an appropriate way to output the text. For example, when encountering a source coding context, VoiceOver could choose to speak all punctuation.

If you don’t set a value with this method, the default content type is plain.

See Also 参照

Providing Accessibility Information