I just realized that I originally posted this in the forum for the old book the first time. Maybe know one looks at that forum anymore since I got no replies, so I am posting here too. Very frustrated trying to figure this out. Can anyone help with this?
I have the WhereAmI app working and left it on my phone to show the wife and family I am learning stuff. It is exhibiting a regular crashing behavior though. Here is what happens…
When you first open app and run it it does fine,
If you hit home and then open it again within just a few minutes it does fine,
If you leave it in the background then reopen more than a few minutes (say like 5 or more) later it crashes.
You can then reopen it then and it does fine but the pattern repeats.
I have double checked all my code with the book and looked on the errata page but can’t figure out what could be wrong. The Xcode organizer shows logs for all the crashes but I don’t know how to read that yet. I was starting to wonder if since this is just a learning project app, not meant for real use, maybe it is missing something that makes it multitask/background/reopen??? correctly? I am using Xcode 4.1 on Lion with iPhone 4 running iOS 4.3.4. I would be grateful for any assistance anyone can offer. I’m willing to up load my code or crash log also. Thanks!