1
\$\begingroup\$

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?

\$\endgroup\$

1 Answer 1

5
\$\begingroup\$

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

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

\$\endgroup\$
3
  • \$\begingroup\$ So what should I do if I want to display right from splash screen? \$\endgroup\$
    – arc
    Commented Aug 17, 2010 at 13:58
  • 5
    \$\begingroup\$ 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/… \$\endgroup\$
    – Fosco
    Commented Aug 17, 2010 at 15:15
  • 3
    \$\begingroup\$ 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. \$\endgroup\$
    – drxzcl
    Commented Aug 17, 2010 at 15:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .