Is there any way to get the current speed of the VoiceOver speech on an iOS app? Sometimes I use my own AVSpeechUtterance
strings and I'd like to use the same rate that's is configured on VoiceOver settings. Thanks in advance.
Is the announcement specifically for VoiceOver users? Then it might be better to post announcement notification from UIAccessibility. VoiceOver will announce the notification, so users will hear with the same voice and speed from their VoiceOver setting.
UIAccessibility.post(notification:.announcement, argument:"Hello World!")
Read more information from the documentation.
UIAccessibility.post: https://developer.apple.com/documentation/uikit/uiaccessibility/1615194-post
UIAccessibility.Notification: https://developer.apple.com/documentation/uikit/uiaccessibility/notification
announcement: https://developer.apple.com/documentation/uikit/uiaccessibility/notification/1620176-announcement
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With