Resume / Suspend -- App Reboots on Resume Occasionally

Hey Guys,

My new business app runs great and I’m able to suspend/resume it smoothly, without interruption.  However, often, after not using it for an extended period of time (a few hours)  the app appears to ‘reboot’ upon resuming. 

Thankfully the problem is not debilitating for the app to function, but I dislike not knowing the cause.

How can I go about debugging a problem like this? 

If an app is in a suspended state for too long, does iOS sometimes close it in the background? Could it be a memory management issue?   Perhaps this is common and I shouldn’t worry about it? 

And yes, I’ve set " UIApplicationExitsOnSuspend = false"  and have been examining the xCode debug screen for clues, but I haven’t found any leads.

Thanks in advance for any advice and thoughts.

I believe this is normal OS behavior. It lets the suspended apps resume from where they were left for as long as other apps more recently used don’t need the memory space. If you really want the app to resume from where you left irregardless of whether it was suspended or completely exited I think you will want to explore possibilities to save your app state on suspend/exit and restore on resume/start. Hope this helps.

If this is true, then that’s a huge relief. Im surprised I hadn’t read more about this in my searching. Thanks for the response ksan.

I believe this is normal OS behavior. It lets the suspended apps resume from where they were left for as long as other apps more recently used don’t need the memory space. If you really want the app to resume from where you left irregardless of whether it was suspended or completely exited I think you will want to explore possibilities to save your app state on suspend/exit and restore on resume/start. Hope this helps.

If this is true, then that’s a huge relief. Im surprised I hadn’t read more about this in my searching. Thanks for the response ksan.