Hi all,
I've written a little iPhone app that needs to constantly poll a web service on a timer. Occassionally, something gets in a bit of a pickle and the timer seems to die. I want it so that if the user clicks the home button and re-opens the app it will do a force-quit and everything will get loaded from scratch. Unfortunately, since OS4, that doesn't happen -- it just reloads in the same stuck state! Does anybody know of a delegate method I can use to tell the app to quit instead of sleep?
I admit I haven't checked the SDK docs yet. I'll do that now and post back if I find anything. Google didn't help because of all the news and blog articles from the past month about iOS4 and multitasking...
I've written a little iPhone app that needs to constantly poll a web service on a timer. Occassionally, something gets in a bit of a pickle and the timer seems to die. I want it so that if the user clicks the home button and re-opens the app it will do a force-quit and everything will get loaded from scratch. Unfortunately, since OS4, that doesn't happen -- it just reloads in the same stuck state! Does anybody know of a delegate method I can use to tell the app to quit instead of sleep?
I admit I haven't checked the SDK docs yet. I'll do that now and post back if I find anything. Google didn't help because of all the news and blog articles from the past month about iOS4 and multitasking...