UITextField begin dictation

后端 未结 3 1531
慢半拍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条回答
  •  盖世英雄少女心
    2020-12-16 13:44

    You have to implement SFSpeechRecognizer, use Accelerate framework to get mic sound level floats and make an animated view yourself. It will look cooler!

    Sorry for not providing the code, I think i lost it. Can’t find it on my multiple hard drives :/

提交回复
热议问题