#import<AVFoundation/AVFoundation.h>
AVSpeechSynthesizer *synth2 = [[AVSpeechSynthesizer alloc] init];
AVSpeechUtterance *utterance1 = [AVSpeechUtterance speechUtteranceWithString:@"你瞅啥,瞅你咋滴"];//播放語
AVSpeechSynthesisVoice *voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"zh-CN"];//漢語
utterance1.voice = voice;
utterance1.rate = 0.3;//語速
[synth2 speakUtterance:utterance1];//播放