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.
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.
About the author
#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.
Associate Sven Bergström
Luma Arcade