I haven't found much of anything to help me solve this problem, and debugging it is a pain because it doesn't happen when debugging remotely. Let's say I pressed the home button and minimize the app. applicationDidEnterBackground gets called, yes. Is this where I'm supposed to save all of my game data and write it to the app's private data directory and load it when it comes back to the foreground? All of my game's information is stored in a series of linked lists, and saving it would be easy enough I guess.
Another thing, does all of the app's memory get deallocated when it's minimized? Should I deallocate everything to avoid memory leaks? I find iOS not to be very straightforward in this regard. Any advice is appreciated. Thanks.