I have a application which I want to make multitasking ready, but the problem I have is that it does crash when it was in the background for a longer time. When I send it to the background for a few minutes, I can load it back and reuse it perfectly, but when it was in the background for a few hours it crashes as soon as I tap anywhere in the application.
I don't know what I have to do to support the reload from the background. I read that the cashing and so on is done by the sdk. I'm not sure if there are some background tasks (performSelectorInBackground
) which derange a reloaded app?
Any hints?