iOS,有一种方法可以通过编程方式关闭三指缩放 [英] iOS, is there a way to programmatically turn off three fingered zoom

查看:129
本文介绍了iOS,有一种方法可以通过编程方式关闭三指缩放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个iPad应用程序正在博物馆展览中使用,它在引导访问模式下运行。我已在iPad上启用了三指变焦,以实现辅助功能。如果前一个用户进入缩放模式并保持放大状态,则用户会感到困惑。

I have an iPad app that is being used as part of a museum exhibit, it runs in guided access mode. I have enabled three fingered zoom on the iPad for accessibility. Users are finding it confusing if the previous user has entered the zoom mode and left it zoomed in.

该应用程序超时并进入吸引模式后,该应用程序处于非激活状态一段的时间。当它进入吸引循环时,我想退出缩放模式,可以通过编程方式执行此操作,还是必须手动进行?

The app times out and enters an attract mode after it is inactive for a period of time. When it enters the attract loop I would like to leave the zoomed mode, is it possible to do this programmatically or does it have to be done manually?

推荐答案

必须手动完成。您的应用无法与辅助功能进行通信。 iPad的三指变焦确实令人困惑;我不小心触发了它,感到困惑!但是出于这个原因,我建议您不要在信息亭iPad上启用此功能。更好的选择是在应用程序本身内启用某种形式的缩放 。您可以通过编程 将其关闭。

It has to be done manually. Your app can't communicate with the accessibility features. It's true that three-fingered zoom on the iPad can be confusing; I've triggered it accidentally and confused myself! But for that very reason I suggest that you do not turn on this feature in your kiosk iPad. A better option would be to enable some form of zoom within the app itself. That would be something that you can turn off programmatically.

这篇关于iOS,有一种方法可以通过编程方式关闭三指缩放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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