Pin*_*pps 3 memory-leaks avfoundation ios7 avspeechsynthesizer
每次我使用 AVSpeechSynthesizer 朗读文本时,仪器都会报告 AXSpeechImplementation 库中的内存泄漏。这是我用来拨打电话的代码:
AVSpeechUtterance *speak = [AVSpeechUtterance speechUtteranceWithString:text];
speak.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-US"];
speak.rate = AVSpeechUtteranceMaximumSpeechRate * .2;
[m_speechSynth speakUtterance:speak];
Run Code Online (Sandbox Code Playgroud)
这是仪器屏幕截图的链接 http://imageshack.com/a/img690/7993/b9w5.png
| 归档时间: |
|
| 查看次数: |
872 次 |
| 最近记录: |