Reputation: 49
I want to convert voice to text & I am using built in mic phone button from the keyboard its work perfectly to convert voice to text But Client requirement is to add external mic button & handle keyboard mic button event. So how to open voice input mode when I press external mic button from the screen. Thanks
Upvotes: 1
Views: 979
Reputation: 16543
You cannot make use of the keyboard speech recognition externally without keyboard speech button. If you want your app to recognize speech externally without keyboard then you have to make use any third party speech recognition SDK. Do google for speech recognizers for ios.
Also i would give a hint that in iOS10 apple introduced a Speech recognition library called SFSpeechRecognizer. If you are planning for future you can give it a try.
Upvotes: 3