让程序读出文字

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

 

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