How to check whether Dictation is enabled in iOS K

2019-07-14 04:45发布

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条回答
forever°为你锁心
2楼-- · 2019-07-14 05:05

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.

查看更多
登录 后发表回答