Search code examples
swiftaccessibilityvoiceover

VoiceOver : can I adapt different voices tones in swift?


I'm making a french app in accessibility and I'd like to use some english terms using VoiceOVer.

For that purpose, I decided to use the accessibilityAttributedLabel introduced in iOS 11 with [UIAccessibilitySpeechAttributeLanguage:"en"] only for english terms.

My problem is that french and english voices tones are quite different and that doesn't sound very well.

Does anyone know if it's possible to adjust the voices tones programmatically in this case ?

FYI, I found a workaround by translating all the sentence in phonetics using the UIAccessibilitySpeechAttributeIPANotation key.


Solution

  • I do not think you can change the voice tones, sorry