How to hide URL Bar by using sencha touch


I wonder if you want to hide urlbar in smartphone web site, you will write following script( using jquery)


How to…

If you want to hide URLbar by using sencha touch, you can write following code in ** app.js **.

viewport: {
    autoMaximize: ! &&
  • Orientation change performance is drastically reduced when this is enabled, on all devices.
  • On some devices (mostly Android) this can sometimes cause issues when the default browser zoom setting is changed.
  • When wrapping your phone in a native shell, you may get a blank screen.