Yogesh Lolusare
Yogesh Lolusare

Reputation: 2212

Adding Voice Dictation (microphone) to ToolBar

What i am trying to do is:

  1. Add one button (Microphone image) in toolbar.
  2. On click of that button, the iOS default voice dictation should get call.
  3. enter image description here
  4. Query: I assume that we can not call default voice dictation but want to confirm. Is their any workaround or any approach to call voice dictation on click of button in toolbar?
  5. (The query is that dictation button (Mic) get display in keyboard (for textfield & textview)& on click of that button(Mic) dictation functionality comes to play, can we add similar button (like Mic) to toolbar (for textfield & textview) & on click of button dictation functionality should comes to play.)

Thanks

Upvotes: 2

Views: 1379

Answers (1)

Rengers
Rengers

Reputation: 15218

Dictation is only possible in a text field, and can thus only be started from the keyboard (afaik). It is also not supported for all languages, so it depends on what keyboard is active.

Those buttons are usually seen in chat apps, where they record an audio clip without translating it to text.

Upvotes: 3

Related Questions