I wrote an app that saves the users inputted text, and it ran perfectly on the iPhone and iPad simulator. I closed Xcode, reopened it an hour later to double check it before I submit it, and ran into a weird issue. The app still runs perfectly on the iPad simulator, but on the iPhone simulator, it won’t save the data anymore. Also, when I just close the app, then reopen it from the multitasking bar, it crashes. It was running perfectly on both simulators an hour ago, and I didn’t change anything at all. I also restored a snapshot I took earlier when I was 100% sure it worked perfect after thorough testing, but the same issue is still occurring.
I think my iPhone simulator is on the fritz. If there was truly an issue with it, it would have the same effect on the iPad simulator, right? Has anyone else run into this issue? I already reset my computer and erased the simulators content and settings, didn’t seem to work though.
UIApplication delegate methods only belong in the application delegate, and it should be implementing the UIApplicationDelegate protocol methods, as explained in the documentation.
If you want other class objects to do something after applicationWillResignActive is started, you can put some code inside that method to make that happen. Here is a link to a suggestion on how to do that. Why do you have applicationDidEnterBackground: methods inside other classes? This may be related to your problem, and should be easy enough to fix.