[英]Hide AddressBar in IOS 6 safari
I am trying to hide the address bar in Safari in ios 6, but it hides partially, in portrait mode. 我正在尝试在ios 6的Safari中隐藏地址栏,但在纵向模式下部分隐藏。 It hides fine in landscape mode.
在横向模式下隐藏良好。 I am using window.scrollTo(1, 1).
我正在使用window.scrollTo(1,1)。 Also, the problem happens to be on a specific device with a different version of Safari than on another device.
另外,问题出在与其他版本的Safari不同的特定设备上。 Is there any workaround to solve this?
是否有解决方法?
you can hide the address bar 您可以隐藏地址栏
<!-- fullscreen -->
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- status bar style -->
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
but it did not work in all iOS versions 但并非所有iOS版本都适用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.