I'm developing an iOS application in Swift with voice and speech input. Instead of relying on Apple's speech-to-text services, I am substituting another speech recognition service. I can already programmatically record audio and interact with this alternate speech service.
When interacting with a textbox, I'd like the keyboard to show up (it currently does) but I'd like the speech icon to either:
- be rewired to send audio information directly to my service
- be disabled (no ability to send audio information to Apple's service)
I can find lots of information about using Apple's speech service but can't find information relating to switching out the speech-service backend.