AVSpeechSynthesizer *av = [[AVSpeechSynthesizer alloc]init];
AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:@"恭喜你签到成功"]; //需要转换的文本
[av speakUtterance:utterance];
AVSpeechSynthesizer *av = [[AVSpeechSynthesizer alloc]init];
AVSpeechUtterance *utterance = [[AVSpeechUtterance alloc] initWithString:@"恭喜你签到成功"]; //需要转换的文本
[av speakUtterance:utterance];