How to check whether Dictation is enabled in iOS Keyboard.?

时光毁灭记忆、已成空白 提交于 2019-12-24 00:45:15

问题


I have to show an Image highlighting the Mic icon in iOS keyboard saying "Tap here to speak". But the Mic icon won't be displayed if dictation is disabled in Keyboard settings.

My aim is to check whether dictation is enabled at the time of launching the app. If not, I want to show a prompt to Enable Dictation from "Settings>KeyBoard>Enable Dictation"

Is there any way to check whether dictation is enabled when the app is launched.?


回答1:


Short answer is that checking whether the dictation is enabled is not possible.

Currently there are only few things that developers can play with in terms of dictation. They are defined in UITextInput Protocol. Sadly, what you're looking is not there.



来源:https://stackoverflow.com/questions/33781718/how-to-check-whether-dictation-is-enabled-in-ios-keyboard

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!