iOS 7 - 有没有办法在Safari中禁用滑动后退和前进功能? [英] iOS 7 - is there a way to disable the swipe back and forward functionality in Safari?

查看:410
本文介绍了iOS 7 - 有没有办法在Safari中禁用滑动后退和前进功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于某些网页,我们使用iPhone的左右滑动功能来拉取菜单。
现在使用iOS7,他们已经推出了左右滑动的浏览器历史记录的前一页和下一页的功能。

For some web pages we use the swipe left and right functionality of iPhone to pull up the menus. Now with iOS7, they have introduced the ability to go back and forward to previous and next pages of browser history on swipe left and right motions.

但是有没有办法为特定页面禁用它,以便在滑动操作上没有冲突的行为?

But is there a way to disable it for specific pages so as to not have conflicting behavior on the swipe actions?

推荐答案

不,这是在操作系统级别完成,网页没有得到任何回调

No, this is done at the OS level, and webpage doesn't get any callback

参见 iOS7中可能导致网站出现问题的Safari变更摘要(包括此滑动手势)

See this summary of safari changes in iOS7 that might cause problems to your website (including this swipe gesture)

这篇关于iOS 7 - 有没有办法在Safari中禁用滑动后退和前进功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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