if(ua.match(/ipad/i)=="ipad" || ua.match(/iphone/i)=="iphone"){
//禁止web应用全屏显示时页面可以滚动
document.ontouchmove = function(e){
if (document.body.scrollHeight == document.body.clientHeight){
event.preventDefault();
}
}
}
禁止IOS 上的web应用全屏显示滚动
猜你喜欢
转载自wait7758521.iteye.com/blog/1775378
今日推荐
周排行