1
我想隐藏IOS 7上的url栏,所以当我把<meta name="viewport" content="minimal-ui">
,它不隐藏url栏,它仍然在页面上,我的网站没有加载响应,它的打开像它的桌面版本,有谁知道为什么会发生这种情况,以及如何正确地做到这一点?IOS7最小用户界面不工作
我甚至尝试
window.addEventListener("load",function() {
// Set a timeout...
setTimeout(function(){
// Hide the address bar!
window.scrollTo(0, 1);
}, 0);
});
我读这篇文章,它看起来像它不可能在新的IOS。 Link