IFRAME和iPad上的Safari,用户如何滚动内容? [英] IFRAMEs and the Safari on the iPad, how can the user scroll the content?
本文介绍了IFRAME和iPad上的Safari,用户如何滚动内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有谁知道用户如何使用移动Safari滚动IFRAME的内容?
解决方案
iOS 5添加了以下样式,可以被添加到父div以便滚动工作。
-webkit-overflow-scrolling:touch
According to the Apple iOS mantra it should be possible to scroll the contents of an IFRAME by dragging it with two fingers. Unfortunately running the latest version of iOS on the iPad I have yet to find a single website with an IFRAME that scrolls using this method - no scrollbars appear either.
Does anyone know how a user is supposed to scroll the contents of an IFRAME with the mobile Safari?
解决方案
iOS 5 added the following style that can be added to the parent div so that scrolling works.
-webkit-overflow-scrolling:touch
这篇关于IFRAME和iPad上的Safari,用户如何滚动内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文