Search code examples
iosxcode6voice-recognitionwatchkitapple-watch

Voice recognition text input for Apple Watchkit?


I would like to add a screen where it accepts the user's voice, so I can convert it to a string and make a query request to a remove server. Does Watchkit provide this mechanism to developers? I couldn't find any controls that do this in Xcode.


Solution

  • You can use presentTextInputControllerWithSuggestions:allowedInputMode:completion: on WKInterfaceController to do this.