UITextField begin dictation

后端 未结 3 1533
慢半拍i
慢半拍i 2020-12-16 13:23

I\'d like to programmatically put my UITextField input into dictation mode, without requiring the user to bring up and select dictation from the keyboard. Searched the API

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-16 13:36

    This is currently not possible on iOS.

    The only place where it is kind of possible is in an app using WatchKit. In WKInterfaceController you can actually use presentTextInputControllerWithSuggestions with nil as parameter which starts dictation input immediately.

提交回复
热议问题