Baltazor
Baltazor

Reputation: 13

steroids.js how to disable navigation bar by default and on loading page

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?

Upvotes: 0

Views: 480

Answers (1)

Baltazor
Baltazor

Reputation: 13

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

steroids.layers.push({
  view: webViewObject,
  navigationBar: false
}

Upvotes: 1

Related Questions