我正在为ios构建一个phonegap应用程序,并有垂直滚动问题。即使没有任何内容,在web视图中似乎也会滚动几个像素,这会影响我绝对定位的导航栏和标签栏,它们都是以html格式构建的Phonegap垂直滚动
以下是我拥有的html页面 - 没有内容图中显示的滚动量:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
<title>My App</title>
</head>
<body>
<script src="scripts/vendor/cordova-2.4.0.js"></script>
</body>
</html>
scroll screenshot http://img20.imageshack.us/img20/5140/screenshot20130225at212.png
非常好!这似乎解决了这个小问题。我几乎准备好完全放弃电话 - 几周来一直试图为此找到解决办法 – 2013-06-22 10:06:20