In my iPad application, I set UIApplicationExitsOnSuspend to true so that the application terminates when the home button is pressed. In general this works fine. However, when I tried terminating the app and launching it again as soon as the home screen is visible, the application some times crashes.
on closer examination I find the app goes into applicationDidEnterBackground before applicationWillTerminate is called. This seems to indicate that the application went into the background state briefly before terminating. So if the app is launched in that brief time when the app is in the background before terminating, the app will look like it's launching (but really just coming back from background briefly) and then shuts down, making it look like a crash, but there isn't any crash report.
Has anyone else encountered such problem? Is this a iOS bug? How did you resolve it?
answered by this other link about flurry
App hangs on restart with latest Flurry SDK and ios4