Hat AVSpeechSynthesizer in iOS 7.0 eine US-männliche Stimme?

Lösung : Es hat nichtUS male voice

Ich habe benutztAVSpeechSynthesizer framework zumiOS7.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
}

Ich muss verwendenUS male voice Anstatt vonmale UK voice.

Antworten auf die Frage(1)

Ihre Antwort auf die Frage