Custom Keyboard Audio Recording

I am writing a custom keyboard. I need to record audio (which than is send to our server for processing) - I gave the keyboard full access, but it seems audio recordings are not working.


Is it possible to access the audio device for recording in a custom keyboard? Do I need some other permissions for this?


thanks

In you extension target please set

1.the settings "Privacy - Microphone Usage Description/Privacy - Speech Recognition Usage Description" in you Info.plist file

2.And also set the "Application requires iPhone environment" value is YES.


Above two steps need configure in Info.plist, but it also used AVAudioEngine start failed. that still need more intergate.

Custom Keyboard Audio Recording
 
 
Q