禁止回弹
jQuery方式:
$().ready(function(){ document.ontouchmove = function(e){ e.preventDefault(); } });
其他方式:
document.onload = function(){ document.ontouchmove = function(e){ e.preventDefault(); } };
在Home上添加快捷方式
<link rel="apple-touch-icon" href="custom_icon.png" />
要提供57*57的png图,圆角、阴影都不用管
去掉顶部和尾部的灰块
webView.backgroundColor = COMMON_WHITE_COLOR; webView.opaque = NO;
时间: 2024-09-15 20:19:36