积极答复者
手机浏览器如何不让向下拖动页面?

问题
答案
-
Hi,
You can try using chrome fullscreen API.
http://davidwalsh.name/fullscreen
But for iOS 7.1+ use "minimal-ui" meta tag
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui">
for iOS < 7.1 and older browser version there are many tricks (that don't work very well) like the solution you used above (scrollTo ...etc)
For more information, please refer to the document:
http://foundation.zurb.com/forum/posts/2468-how-to-hide-the-url-address-bar-on-iosandroid
Hope it can help you.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Pengzhen Song 2015年3月24日 1:58
全部回复
-
Hi,
You can try using chrome fullscreen API.
http://davidwalsh.name/fullscreen
But for iOS 7.1+ use "minimal-ui" meta tag
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui">
for iOS < 7.1 and older browser version there are many tricks (that don't work very well) like the solution you used above (scrollTo ...etc)
For more information, please refer to the document:
http://foundation.zurb.com/forum/posts/2468-how-to-hide-the-url-address-bar-on-iosandroid
Hope it can help you.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.- 已标记为答案 Pengzhen Song 2015年3月24日 1:58