Hybrid View
-
19 Jul 2012 12:04 PM #1
Chrome in iOS (autoMaximize)
Chrome in iOS (autoMaximize)
REQUIRED INFORMATION
- sencha-touch-2.0.1.1
- Chrome 19.0.1084.60 (iOS)
The problem happens when i call the function autoMaximize within viewport in app.js file in the Chrome for iOS.
The result that was expected:
Hide Address Bar.
The result that occurs instead:
Application stopped.
Code:
Code:Ext.application({ ... viewport : { autoMaximize : true }, ... };
-
20 Jul 2012 6:22 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,710
- Vote Rating
- 436
Can I get a test case? This is working just fine for me:
Do note that it doesn't look like Chrome will be able to hide the address bar via this setting.Code:Ext.application({ name : 'Test', viewport : { autoMaximize : true }, launch : function() { var number = 0; new Ext.Container({ fullscreen : true, tpl : 'Still working? {num}', data : [ { num : number } ], items : [ { xtype : 'toolbar', docked : 'top', items : [ { text : 'Test', handler : function(button) { var cnt = button.up('container[fullscreen]'); ++number; cnt.setData({ num : number }); } } ] } ] }); } });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.
-
26 Jul 2012 10:24 PM #3
not working on iphone 3gs with Chrome
not working on iphone 3gs with Chrome
Hi
I can confirm the code above DOESNT work on Iphone 3gs (fw 5.0.1) with the Chrome iOS browser.
A clean app, copy and pasted from above, if I set:
it works, butCode:viewport : { autoMaximize : false },
doesnt workCode:viewport : { autoMaximize : true },
Is this a bug? or there any workarounds, like say detecting the Chrome app and not setting fullscreen or something....?
-
26 Jul 2012 11:03 PM #4
-
31 Jul 2012 2:56 PM #5
-
2 Aug 2012 8:25 AM #6
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote