Game Development Community

MainWindow.xib - flash of white during app launch

by Steve Kim · in iTorque 2D · 01/16/2010 (7:57 pm) · 2 replies

Just wanted to post something that might save some people time with setting the default background color of their iphone apps.

I noticed that my app showed a white screen briefly before my level loaded up on the simulator and the device. That white screen came back once I ended the app. I spent some time browsing the forums thinking it was something I wasn't setting in my scripts.

It turned out to be the MainWindow.xib in the Xcode project's resources, which is by default white. So if you change the background color of that xib using Interface Builder, that flash of white will go away.









#1
01/18/2010 (4:12 am)
You can also make it black , or plain seethrough ;) Nice post.
#2
07/13/2010 (9:03 am)
Would making it seethrough keep the loading image instead of the white flash? By seethrough do you mean making alpha = 0? Because that makes my whole application invisible after loading.