-
14 Apr 2012 7:55 AM #1
Address Bar no longer hidden in Safari with Sencha Touch 2.0
Address Bar no longer hidden in Safari with Sencha Touch 2.0
REQUIRED INFORMATION
Ext version tested:- Sencha Touch 2.0
- Mobile Safari
- Andriod
- When viewing Sencha Touch 2 apps, the browser address bar is no longer hidden automatically. If I view a Sencha Touch 1.1 app on a mobile device, when the app loads, it hides the address bar.
- This obviously only occurs when apps are pulled up through the browser, and not launched from the homescreen.
- Visit: http://dev.sencha.com/deploy/touch/e...n/kitchensink/ in mobile safari on iPhone.
- Note that the address bar at the top is still present.
- I would expect this to work like it did on ST1.1 and hide the address bar.
Test Case:
HELPFUL INFORMATION
Screenshot or Video:- attached
Debugging already done:- none
- not provided
- only default ext-all.css
- custom css (include details)
- iOS 5.1
- Android 2.3.3
-
16 Apr 2012 6:44 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
You can try to set autoMaximize in the viewport config:
orCode:Ext.setup({ viewport : { autoMaximize : true }, ... });
Look at the API docs as there are some important notes to take note of:Code:Ext.application({ viewport : { autoMaximize : true }, ... });
http://docs.sencha.com/touch/2-0/#!/...g-autoMaximizeMitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
16 Apr 2012 10:55 AM #3
lower menu
-
17 Apr 2012 4:28 AM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,641
- Vote Rating
- 434
You can try this meta tag
If I remember correctly I think that will hide it.Code:<meta name="apple-mobile-web-app-capable" content="yes" />
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
15 May 2012 1:54 AM #5
Getting error with setAutoMaximize to true
Getting error with setAutoMaximize to true
When i am adding below line in my code.
Ext.Viewport.setAutoMaximize(true);
This Error I am getting
Error: Object doAutoMaximizeOnReady has no method 'call'
-
24 May 2012 3:11 AM #6
-
12 Jun 2012 4:51 PM #7
I had the same error Getting error with setAutoMaximize to true
I had the same error Getting error with setAutoMaximize to true
Error: Object doAutoMaximizeOnReady has no method 'call'
is there any guys could solute this error? Thanks.
-
19 Jul 2012 9:52 PM #8
Hi,
Even with the tags the bottom bar of the browser still appear.
<meta name="apple-mobile-web-app-capable" content="yes">
Have someone, solve this problem ?
Thks
-
20 Jul 2012 2:20 AM #9
You cannot hide the bottom bar it if you open your app on a webpage from Safari. If you open it from a link you've made (which opens in Safari) then the bottom bar will go away.
-
13 Aug 2012 4:09 PM #10
still broken
still broken
I'm looking at the kitchen sink example on an iPhone 4s iOS 5.1 Sencha version 2.0.1.1
And the address bar does not hide.
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote