AVSpeechSynthesisVoice voice is fred's voice in iOS 12 if no voice identifier is set. How can we go back to default voice?
Asked
Active
Viewed 267 times
-2
-
why it is marked down? – user1664018 Oct 10 '18 at 15:25
-
similar issue is reported here - https://stackoverflow.com/questions/52727301/ios-text-to-speech-what-decides-the-default-voice-returned-by-avspeechsynthesi. – user1664018 Oct 10 '18 at 19:19
1 Answers
0
com.apple.ttsbundle.Samantha-compact is the default voice from AVSpeechSynthesisVoice. This is how you can go back to default voice-
AVSpeechSynthesisVoice* voice = [AVSpeechSynthesisVoice voiceWithIdentifier:@"com.apple.ttsbundle.Samantha-compact"];

matt
- 515,959
- 87
- 875
- 1,141

user1664018
- 87
- 8