Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
iOS6 和 iOS7 上的类固醇
WebView加载后navigationBar显示在设备就绪事件触发和调用之前的几毫秒
WebView
navigationBar
steroids.view.navigationBar.hide();
在加载页面上navigationBar也显示。
navigationBar在这种情况下如何禁用?
我找到了答案。您只需要使用选项推送新的 webView navigationBar: false:
navigationBar: false
steroids.layers.push({ view: webViewObject, navigationBar: false }