Can we incorporate the Speech Recognition framework with Today Extension

青春壹個敷衍的年華 提交于 2019-12-20 03:09:42

问题


I am trying to build a widget which has a speech button. When I press it , it should convert the speech uttered to text. However when I try to record the voice , AVAudioEngine fails to start. Is it because AVAudioEngine is not allowed in Today Extension?


回答1:


Searching the internet I seem to have found my answer. The short answer is no, you can't record Audio in extension.



来源:https://stackoverflow.com/questions/44365523/can-we-incorporate-the-speech-recognition-framework-with-today-extension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!