watchkitdictation

WatchKit: How does the dictation feature work?


Could anybody please help me understand how does the dictation API work in WatchKit? I'm aware that we use the text input controller (presentTextInputControllerWithSuggestions) to let the user dictate the text. Now I have a couple of questions:

Thanks in advance.

Regards, Kavita


Solution

  • When you start presentTextInputWithSuggestions, you will have a list of suggestions and a button to start dictation. If you don't add suggestions, dictation start automatically. You will have a page for suggestion and another page for dictation. During the dictation, user sentence appears on the dictation screen. When he press "Done", you come back to your first page

    No, the user can't edit your suggestions. However, you can save is dictation and add this text to the next suggestions for example

    You can change the suggestions, the availability of emoji and dictation. However, you can't change dictation view