speechSpellsOutCharacters
Sets whether VoiceOver should speak the contents of the text view character by character.
Declaration
compose().speechSpellsOutCharacters(value?: boolean)func speechSpellsOutCharacters(_ value: Bool = true) -> TextParameters
valuebooleanA Boolean value that when
trueindicates VoiceOver should speak text as individual characters. Defaults totrue.
Discussion
Use this modifier when you want VoiceOver to speak text as individual letters, character by character. This is important for text that is not meant to be spoken together, like:
- An acronym that isn't a word, like APPL, spoken as "A-P-P-L".
- A number representing a series of digits, like 25, spoken as "two-five" rather than "twenty-five".
See also
More in Text modifiers.
- accessibilityHeadingSets the accessibility level of this heading.
- accessibilityLabelAdds a label to the view that describes its contents.
- accessibilityTextContentTypeSets an accessibility text content type.
- baselineOffsetSets the vertical offset for the text relative to its baseline.
- boldApplies a bold font weight to the text.
- fontSets the default font for text in the view.
- fontDesignSets the font design of the text.
- fontWeightSets the font weight of the text.
- fontWidthSets the font width of the text.
- foregroundStyleSets the style of the text displayed by this view.
- italicApplies italics to the text.
- kerningSets the spacing, or kerning, between characters.