码迷,mamicode.com
首页 > 其他好文 > 详细

文字转语音

时间:2015-03-11 10:57:36      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:语音 文字

self.synthesizer = [[AVSpeechSynthesizer alloc] init];

AVSpeechUtterance *utterance = [AVSpeechUtterance speechUtteranceWithString:self.textField.text];

    [self.synthesizer speakUtterance:utterance];


文字转语音

标签:语音 文字

原文地址:http://blog.csdn.net/zh_2608/article/details/44194893

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!