I’m working on a text-to-speech application and am trying to add an option for using Alex’s voice, which is new to iOS 9. I need to determine if the user has downloaded Alex’s voice in Settings → Accessibility. I can’t figure out how to do this.
if ([AVSpeechSynthesisVoice voiceWithIdentifier:AVSpeechSynthesisVoiceIdentifierAlex] == "Not Found" ) {
}
The reason is the voices of other languages that are standard, play at a certain speed, different from Alex's voice. Therefore, I have a working application, but if the user has not downloaded the voice, iOS automatically uses the main voice by default, but it plays the wrong speed. If I can detect that the voice has not been downloaded, I can compensate for the difference and / or inform the user.
source
share