如何检查iOS键盘中是否启用了听写功能? [英] How to check whether Dictation is enabled in iOS Keyboard.?

查看:52
本文介绍了如何检查iOS键盘中是否启用了听写功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须显示一个图像,该图像突出显示iOS键盘中的麦克风图标,并显示点按此处发言".但是,如果在键盘设置"中禁用了听写功能,则不会显示麦克风"图标.

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.?

推荐答案

简短的答案是:无法检查是否启用了听写功能.

就命令而言,开发人员目前只能玩的东西很少.它们在 UITextInput协议 .可悲的是,您正在寻找的东西不存在.

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.

这篇关于如何检查iOS键盘中是否启用了听写功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆