2
我想通過phonegap調用使用html iframe的ios應用程序中的外部URL。我可以查看該網站,但無法滾動。IFrame滾動不通過手機在iOS應用程序
我想通過phonegap調用使用html iframe的ios應用程序中的外部URL。我可以查看該網站,但無法滾動。IFrame滾動不通過手機在iOS應用程序
彎曲你的iframe在如下
<div style="width:100%;height:100%;overflow:scroll !important;-webkit-overflow-scrolling:touch !important">
<iframe src="www.your_url.com" scrolling="yes" style="width:100%;height:100%" frameborder="0"></iframe>
</div>
WebKit的溢出滾動就是爲我做 –