iOS开发----文字转语音


    AVSpeechSynthesizer *av=[[AVSpeechSynthesizer alloc]init];
    AVSpeechUtterance *UTT=[[AVSpeechUtterance alloc]initWithString:yourText];
    [av speakUtterance:UTT]; 
posted on 2016-09-07 17:15  sandyLoveCoding  阅读(247)  评论(0编辑  收藏  举报