Short black screen after Default.png

Testet it on an iPhone 5S. My main.lua initializes a lot of stuff directly at the beginning.

2014.2223 works like a charm. No flickering. Just perfect.

Will try it with an iPhone 3gs today evening.

Thanks Walter and Bryan, very much appreciated.

Yep have tested it on my Iphone 4 and it works a treat not a flicker in sight, thank you Corona team especially Walter for your detailed response. 

Regards

Simon

Hi Walter,

I’ve not had a chance to test this yet, but I did want to thank you for your detailed response and attention to this issue.

Regards,

Arthur

Walter + Team,

Like Arthur, I haven’t been able to test this (I’m on Starter–no access to daily builds), but I wanted to thank you very much for your hard work and for your detailed response. Keep up the great work!

-Andrew

I finally had a chance to go to 2014.2224 and test this issue on my iPhone 4 (1st gen).

The black screen flicker is gone so thats great news. We still have the statusBar showing on top of the Default.png though. In the past the Default.png splash screen would cover over the statusBar (carrier, battery indicators etc) no matter what the statusBar settings are in the main.lua. Now it appears that the statusBar is visible throughout the app loading process. Is this something that will be eventually fixed? 

Thanks for the improvement in this area. Most appreciated.

Kerem, do you have:

UIStatusBarHidden = true,

In your build.settings in the settings->iphone->plist block?

Corona can’t turn off the Status bar until it executes main.lua.  That’s how you get iOS to turn it off before it hands control over to Corona.

Wow! Such a newbie oversight on my part. Thank you very much. Indeed this was my problem. Now the startup is flawless. I appreciate your insight. Have a nice day. 

Hello,

I forgot Basic licenses can’t see these builds.  Any idea when this build will go GA?

Thanks,

Arthur

We don’t have an ETA on a new GA build.

Will this fix affect android builds as well?

This issue was specific to iOS builds.

Rob

I have slimmed my main code down to nothing so all it does is display a couple of images.  I have loaded the latest public release which 2393.

I am still getting a 2-3 second blank screen on my ipad 3 prior to loading any of my game images.

Can someone please explain to me why?  I thought this was fixed.

Here is my main code:

display.setStatusBar(display.HiddenStatusBar)

– want multitouch to avoid accidental single touch issues
system.activate( “multitouch” )

centerx, centery = display.contentWidth/2 , display.contentHeight/2

splashScreenlogotext1 = nil
splashScreenlogotext2 = nil

splashScreenlogotext1 = display.newImage(“images/splash page logo text1.png”)
splashScreenlogotext1.x = centerx
splashScreenlogotext1.y = centery +20
splashScreenlogotext1.alpha = .50

splashScreenlogotext2 = display.newImage(“images/splash page logo text2.png”)
splashScreenlogotext2.x = centerx
splashScreenlogotext2.y = splashScreenlogotext1.y + splashScreenlogotext2.height +20
splashScreenlogotext2.alpha = .70

local startup =require( “startup” )
startup_init()

I would bet that the culprit is in your last two lines of code…

Try to put a tiny delay on startup:init(), that should do the trick.

Thanks Jon,

I have changed my code and I still am getting a 4 to 5 second delay on startup without ever seeing my initial banner.

My last two lines of code now look like this:

local startup =require( “startup” )
timer.performWithDelay(  1000 , startup_init(), 1 )

Prior to the buggy cornona code this never happened.

I would really appreciate someone from Corona support helping me out on this.

Regards,

Arthur

 

You have to get rid of the trailing brackets in startup_init() or there will be no delay.  So

timer.performWithDelay(1000 , startup\_init)

Jon,

You are my new hero!!!  Thanks!  After all of these months that bloody black screen is gone!

Have a great day.  You made mine!

Thanks!

Arthur

Glad that helped :slight_smile:

By the way in case you didn’t try shorter delays, you can probably go down to 100 or less.

I have slimmed my main code down to nothing so all it does is display a couple of images.  I have loaded the latest public release which 2393.

I am still getting a 2-3 second blank screen on my ipad 3 prior to loading any of my game images.

Can someone please explain to me why?  I thought this was fixed.

Here is my main code:

display.setStatusBar(display.HiddenStatusBar)

– want multitouch to avoid accidental single touch issues
system.activate( “multitouch” )

centerx, centery = display.contentWidth/2 , display.contentHeight/2

splashScreenlogotext1 = nil
splashScreenlogotext2 = nil

splashScreenlogotext1 = display.newImage(“images/splash page logo text1.png”)
splashScreenlogotext1.x = centerx
splashScreenlogotext1.y = centery +20
splashScreenlogotext1.alpha = .50

splashScreenlogotext2 = display.newImage(“images/splash page logo text2.png”)
splashScreenlogotext2.x = centerx
splashScreenlogotext2.y = splashScreenlogotext1.y + splashScreenlogotext2.height +20
splashScreenlogotext2.alpha = .70

local startup =require( “startup” )
startup_init()

I would bet that the culprit is in your last two lines of code…