Search code examples
iosobjective-cuitableviewvoice

Voice Command to Select TableView Options


It's something which I've heard for the first time in iOS. I'm making an app where when user taps on a TabBar button it opens a popup menu with some options in a TableView. Now the client wants user to speak and select an option from the list.
For example if the list contains Open Camera, Open Photos and user say Open Camera it should open camera. So, my question is that is it possible? If so than I need any tutorial or related links. So far I've searched for it but found nothing so I must be doing the wrong search.


Solution

  • Try following steps to work with open ears for offline speech recognition.

    1. On Offline speech recognition tutorial. enter image description here

    2. Find Using OELanguageModelGenerator steps. Here you need to define your own words which you want to use (i.e. here, you need to set your UITableview row's title)enter image description here

    These was the main steps you need to know, after registering , you will get your API key and by following rest of the instructions you will be able to achieve what you want.