PDA

View Full Version : Hide the address bar in iOS?



parky128
2 Feb 2012, 9:01 AM
Is there a way to ensure the address bar and footer bar in iOS Safari can be hidden? I am finding its using up extra screen space, and when trying to show marker info windows on a ma,p the visible map area is not quite enough to show the info window content fully. I could make the info window scrollable but wouldn't need to if I could hide these bars somehow.

Perhaps its me not understanding how to use an iPhone?!

mitchellsimoens
2 Feb 2012, 11:45 AM
Using my iPhone, the address bar is automatically hidden.

estesbubba
2 Feb 2012, 1:52 PM
If you save a shortcut to your home screen it will remove the navigation bar.

rdougan
3 Feb 2012, 10:10 AM
http://docs.sencha.com/touch/2-0/#!/api/Ext.Viewport-cfg-autoMaximize

taher.baderkhan
24 Feb 2012, 4:40 PM
I am using Ext.application(...) to instantiate my application. How can I set autoMaximize on the main Viewport. The Viewport documentation suggest using Ext.Setup(). I am not sure how to integrate Ext.Setup with Ext.application

aoathout
24 Feb 2012, 4:46 PM
Ext.application({ viewport: { autoMaximize: true },

......
});

taher.baderkhan
24 Feb 2012, 4:50 PM
It worked. Thanks for the super fast response!!

Jamesaya
11 Jun 2012, 7:04 PM
If i use Ext.Setup(), how can I hide the address bar in iOS?
"autoMaximize: true" seems can't use at Ext.Setup().

Jamesaya
11 Jun 2012, 7:09 PM
ok, i known

Ext.setup({

viewport: {
autoMaximize: true
},
onReady: function() {
}
});

estesbubba
14 Jun 2012, 6:26 AM
Be careful just setting this to true. The documentation details reasons and I also found when saving to home screen it has problems. I have the settings I'm using in this thread:

http://www.sencha.com/forum/showthread.php?207870-Way-to-hide-URL-bar-with-autoMaximize-false