Skip to main content
Participant
October 14, 2013
Question

Splash screen / launch screen problem on iPhone 5

  • October 14, 2013
  • 1 reply
  • 632 views

When I run my application in iPhone 5 (4 inch display), it still displays 3.5 inch launch screen (Default@2x) for a fraction of second when application is loaded for the first time.

It works properly after killing the app, but problem appears again if device is restarted.

I have these images included in my application.

Default.png - 320x480

Default@2x.png - 640x960

Default-568@2x.png - 640x1136

To be more precise, on first launch of app, it displays Default-568@2x.png followed by Default@2x before going to first screen of the app.

My software configuration is as follows.

Flash Builder version: 4.6

Flex SDK: 4.6

This topic has been closed for replies.

1 reply

SunilRana_Gateway
Inspiring
October 14, 2013

Hi drchauhan,

Please set minResolution below iPhone Resolutions  in Splash Screen e.g.

<s:SplashScreenImage xmlns:fx="http://ns.adobe.com/mxml/2009"

                     xmlns:s="library://ns.adobe.com/flex/spark">

  

    <s:SplashScreenImageSource source="@Embed('app_1136.png')" minResolution="1136" aspectRatio="portrait" />    

    <s:SplashScreenImageSource source="@Embed('app_480.png')"  minResolution="480" dpi="160"  aspectRatio="portrait" />

    <s:SplashScreenImageSource source="@Embed('app_960.png')" minResolution="960"   aspectRatio="portrait" />

</s:SplashScreenImage>

with Regards,

Sunil