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

查看:28
本文介绍了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天全站免登陆