0

1.煎茶触摸2.3.1

2.我用了iframe,在IOS7.x上运行良好

3.升级到IOS8.1时,iframe不能滚动

4.IOS8.1在safari中运行良好,但是发送到主屏幕,打开它就无法使用。

为什么?是一个错误?

我的 iframe 代码是这样的:

<div style="-webkit-overflow-scrolling:touch;background:url(resources/images/loading.gif) center center no-repeat; height:500px; overflow: auto;">
<iframe src="/abc.html" width="100%" height="100%" frameborder="0" >
</iframe>
</div>
4

2 回答 2

0

Try to set fixed height. Does it work?

Also, try to add:

overflow-y: scroll; 

to your frame.

于 2014-10-27T23:51:12.047 回答
0

它是 8.1 的一个已知问题。我正在经历同样的事情。令人惊讶的是,iframe 滚动在 chrome 中运行良好,但 Safari 存在问题。

http://www.applevis.com/blog/apple-ios-news/accessibility-fixes-and-improvements-ios-81

于 2014-10-28T14:30:26.863 回答