accessibilityTextContentType(_:)
Sets an accessibility text content type.
Declaration
nonisolated func accessibilityTextContentType(_ value: AccessibilityTextContentType) -> ModifiedContent<Self, AccessibilityAttachmentModifier>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.
The default content type plain.