-
10 Dec 2012 8:35 AM #1
Letter Boxed App on iphone 5
Letter Boxed App on iphone 5
My apps are letter boxed when building to iOS/iphone5. Is there a setting I'm not seeing, or a fix in the works?
Thanks
-
11 Dec 2012 8:03 AM #2
we're facing the same problem (sencha touch 2.0.1.1, webapp only)
edit: updating to sencha touch 2.1 is no real solution for our project
-
13 Dec 2012 2:42 PM #3
Working now...
Working now...
I discovered today that if you provide the correct size of splash screen images into the root directory of your app, it will no longer letter boxed. (Note: these sizes appear to be different than webapp splash screen sizes).
However the splash screen only appears for a very short time, and is replaced by a white screen until the rest of the app loads. Would love to see the splash screen stay up until the app is ready to be displayed.
-
6 Jan 2013 4:03 PM #4
Can you elaborate a bit?
I added "resources/startup/640x1136.png" (which consisted of a pic 640x1136), and added "'640x1136': 'resources/startup/640x1136.png' " to my app.js under [startupImage]. Also tried the reverse (1136x640).
I'm still not getting the full screen size on the iPhone 5. Any ideas? Using 2.1.0.
EDIT:
Nevermind. I was referring to the Native packager. Got it to work by doing the following:
* Created a new Image in resources/startup called Default-568h@2x.png
* Add in the line "rawConfig":"<key>UILaunchImageFile</key><string>resources/startup/Default.png</string>" to the JSON Build file.
-
7 Feb 2013 9:57 AM #5
-
1 Mar 2013 7:23 AM #6
Hi nebev, I've add an image file in resource/startup called Default-568h@2x.png and I've added the line "rawConfig":"<key>UILaunchImageFile</key><string>resources/startup/Default.png</string>" in my packager.json but still not working in simulator.
What's wrong?
thanks
stefano
-
3 Mar 2013 1:09 PM #7
It could be because the packager moves your Sencha App into a directory called "webapp".
The line in my JSON looks like this:
And my file (for iPhone 5) isPHP Code:"rawConfig":"<key>UILaunchImageFile</key><string>webapp/resources/startup/Default.png</string>",
PHP Code:[App_Directory]/resources/startup/Default-568h@2x.png
-
5 Mar 2013 12:40 AM #8
Great!
Thanks
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote