Launch image VS SplashScreenImage on iPhone5
Hi!
I developed an app for iOS and Android. The app is working fine, but as everyone else, I too have a problem with adjusting the app for iPhone5 😕😕
I'm working on FlashBuilder 4.6 with Adobe AIR SDK 3.5.0.600 on Windows.
First, I have to say that I included the Default-568h@2x.png (size 640x1136) in my src folder.
Launch image is appearing OK!
The problem starts when I want to display my SplashScreenImage...
Here's what I've done so far :
1. I'm using populary called DynamicSplashScreenImage.mxml that looks like this :
<s:SplashScreenImage xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark">
<!-- Default splashscreen image. -->
<s:SplashScreenImageSource
source="@Embed('assets/splash/splash_160.png')"/>
<s:SplashScreenImageSource
source="@Embed('assets/splash/splash_240.png')"
dpi="240"/>
<s:SplashScreenImageSource
source="@Embed('assets/splash/splash_320.png')"
dpi="320" />
<s:SplashScreenImageSource
source="@Embed('assets/splash/splash_320_i5.png')"
dpi="320" minResolution="1000" />
</s:SplashScreenImage>
So, I'm using the "minResolution" property to make the diference between iPhone4 and iPhone5 display.
This, unfortunately doesn't seam to work as it should... 😕😕
Could someone please help me on this?
Thanks!
