iOS画外音状态 [英] iOS Voiceover status

查看:193
本文介绍了iOS画外音状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试为已经开发的iOS应用添加辅助功能。

I am trying to add accessibility features to an iOS app that has already been developed.

如果iPhone设置的辅助功能菜单中的VoiceOver选项打开而不显示,我希望它们显示几个UI功能(例如按钮)如果画外音关闭则显示。

There are a couple of UI features (e.g. buttons) that I like them to show up if the VoiceOver option in the accessibility menu of the iPhone settings is on and do not show up if the voiceover is off.

有没有办法检查画外音选项是否开启?

Is there a way to check whether the voiceover option is on or not?

推荐答案

BOOL UIAccessibilityIsVoiceOverRunning();

这篇关于iOS画外音状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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