سؤال

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