让程序读出文字

  AVSpeechSynthesizer *syn = [[AVSpeechSynthesizer alloc]init];
    AVSpeechUtterance *utter = [[AVSpeechUtterance alloc]initWithString:@"hello"];
    [syn speakUtterance:utter];

 

posted @ 2015-08-01 16:40  Emyin  阅读(133)  评论(0)    收藏  举报