简体   繁体   English

检测辅助触摸是否开启

[英]Detect if Assistive Touch is On

I have to detect functional HOME buttons and LOCK screen buttons which I have been able to do 我必须检测我能够做的功能HOME按钮和LOCK屏幕按钮

But the issue is user can emulate these buttons' behaviour if assistive touch is on. 但问题是,如果启用了辅助触摸,用户可以模拟这些按钮的行为。 So is there a way in IOS to detect if user has Assistive Touch turned on so that app can ask them to turn it off before moving on. 那么在IOS中是否有一种方法可以检测用户是否打开了辅助触摸,以便应用程序可以让他们在继续之前将其关闭。

Apple没有提供任何官方API来访问现有的辅助触摸功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM