iPhone OpenGL Splash Screen? How?

Posted by Kyle on Stack Overflow See other posts from Stack Overflow or by Kyle
Published on 2010-04-02T09:22:00Z Indexed on 2010/04/02 9:23 UTC
Read the original article Hit count: 422

My app is based pretty much on the EAGLView in the SDK. It doesn't incorporate a ViewController. Rather it simply inits GL and starts painting immediately.. Currently, my app will load a very small PNG and displays it as quickly as possible. On a 3GS this is rather instant, but on a 3G it can take about 2 seconds. In the latter case of the 3G, the user is looking at a black screen for that time. Is this behavior allowed by Apple? Is there any way to alter this SDK example so that it makes use of 'default.png'? It doesn't seem so straight forward to me.

I want my user to see an image as quickly as possible, and I also don't want to be rejected for such a little quirk like this as well.

In the guidelines, they encourage you to use default.png for standard applications to show a sort of mockup of the interface while it actually loads. I want to initialize OpenGL, and ALSO display this. This default.png is loaded before the app screen launches. This is EXACLTY what I want to make use of.

Any help is appreciated.

Thanks!

© Stack Overflow or respective owner

Related posts about iphone

Related posts about splashscreen