No iOS 7.0, o AVSpeechSynthesizer tem voz masculina nos EUA?
Solução : Não têmUS male voice
Eu tenho usadoAVSpeechSynthesizer
framework
paraiOS7.0
AVSpeechUtterance *utt = [AVSpeechUtterance speechUtteranceWithString:@"Hello"];
if (isMale) //flag for male or female voice selected
{
// need US male voice as en-US is providing only US female voice
utt.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-GB"]; //UK male voice
}
else
{
utt.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-US"]; //US female voice
}
Eu preciso usarUS male voice
ao invés demale UK voice
.