steroids on iOS6 and iOS7

After WebView loaded navigationBar is shown a several milliseconds before device ready event is trggered and called

steroids.view.navigationBar.hide();

On loadind page navigationBar also is shown.

How to disable navigationBar in this cases?

有帮助吗?

解决方案

I found the answer. You just need to push new webView with option navigationBar: false:

steroids.layers.push({
  view: webViewObject,
  navigationBar: false
}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top