AVSpeechSynthesizer *speechManger=[[AVSpeechSynthesizer alloc]init];
speechManger.delegate=self;
//识别出英文外的其他语音要根据手机设置
AVSpeechUtterance *aut=[AVSpeechUtterance speechUtteranceWithString:@"hellow,你好"];
//语速
aut.rate=0.5;
[_speechManger speakUtterance:aut];
网友评论