Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have developed an iPhone app. When I have installed it in the device, it worked fine, ie it showed, the logo screen, the title screen and goes to game screen and now I have exited pressing the home button. The problems starts when I relaunch the app, it straightly goes to the game screen, by skipping the splash screens.

While I was working on it the app crashed and when I launched again it showed the logo screen and title screen. But when I relaunched it, the splash screens where skipped.

Could you tell me the possible errors that might have occurred?

share|improve this question
add comment

1 Answer

It's not an error, it's iOS4 multitasking.

Your app keeps running in the background as long as there are resources available.

share|improve this answer
    
So what should I do if I want to display right from splash screen? –  arc Aug 17 '10 at 13:58
5  
It's a setting in Info.plist in the XCode project for the application. It's called UIApplicationExitsOnSuspend. If you set it to YES the application will exit when it gets suspended. Here's a link to the Information Property List Key Reference that talks about it. developer.apple.com/iphone/library/documentation/General/… –  Fosco Aug 17 '10 at 15:15
3  
As a user, I would very much like to be able to pop out for a quick SMS and get right back into the game. Enabling this setting will seriously annoy me. –  drxzcl Aug 17 '10 at 15:26
    
Thank full to you all. –  arc Aug 20 '10 at 6:11
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.