Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 851
  • Last Modified:

White splashscreen on iOS

Hi,

I'm creating an iPhone/iPad app which basically shows a (real-time generated) animation in a fullscreen OpenGL window. If I "close" it (press the home button), the current (last) picture is used for the "back to springboard" closing animation, automatically. That works. But if i then restart the app from suspended mode the splashscreen is white. Until the app "truly" restarts and picks up the OpenGL imagery again and things look fine.

I would think that iOS would make a screenshot of the app in it's current state whenever a user presses home to use in the splashscreen animations. But for some reason this screenshot is lost when the app restarts from suspended mode.

Same behavior on iPad and iPhone, simulator or device. I use iOS 4.2.1. Xcode 4.0.1

Any idea's?

Kind Regards,
Daniel Dekkers
0
DoZo1971
Asked:
DoZo1971
1 Solution
 
wdeemCommented:
iOS automatically loads the image "Default.png" (can be changed in yout plist) while it is starting up the app. If you want that to change dynamically then you'll have to save your last screen when the app is closing to "Default.png" and it should appear the next time you start the app.
0
 
DoZo1971Author Commented:
Hi, it was our own bug. We pushed the view from the viewstack so underlying white appeared.

The splashscreens are a hassle. I'm now trying to make a smooth fadeout with CoreAnimation (add an UIImage of the original splashscreen on top and fade that one out). That works fine as such but... the problem are all the different cases, iPhone, iPad, orientations. Big switch statement, ugly.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now