Is it possible to auto-load a new speech synthesis voice within an iOS app? Several high-quality "enhanced" voices are available for download in Settings > Accessibility > Spoken Content > Voices > English
. I would like to make use of one of the high-quality ones but do not want to have to explain to the app user that they must manually download them by navigating deep within Settings.
The Siri voices seem to be the high quality only ones that come pre-installed on my phone and unfortunately Apple does not let us use those in AVSpeechSynthesizer. (Selecting one of those as the AVSpeechSynthesisVoice—for example
let utterance = AVSpeechUtterance(string: "This is a test.")
utterance.voice = AVSpeechSynthesisVoice(identifier: "com.apple.ttsbundle.siri_female_en-US_premium")
speechSynthesizer.speak(utterance)
has no effect; the default voice, which is lower quality, is used instead.)