AVSpeechSynthesizer *syn = [[AVSpeechSynthesizer alloc]init]; AVSpeechUtterance *utter = [[AVSpeechUtterance alloc]initWithString:@"hello"]; [syn speakUtterance:utter];
本文共 229 字,大约阅读时间需要 1 分钟。
AVSpeechSynthesizer *syn = [[AVSpeechSynthesizer alloc]init]; AVSpeechUtterance *utter = [[AVSpeechUtterance alloc]initWithString:@"hello"]; [syn speakUtterance:utter];
转载于:https://www.cnblogs.com/yintingting/p/4694286.html