iOS, is there a way to programmatically turn off three fingered zoom

血红的双手。 提交于 2019-12-11 09:45:39

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/26007616/ios-is-there-a-way-to-programmatically-turn-off-three-fingered-zoom

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!