问题
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