Email me at brandoncthompson7@yahoo.com and put the subject as "Pre-Paid Legal" to hear about the company I am with now and they have been around for 40 years and millions of people are making serious money with us. I have proof and tools of how to make it work and I also have contacts that have been VERY successful with this company. thank you, Brandon.
@PanzrKunst thanks for pointing out that you needed that extra '/' in the file path format. I found that it would work fine in the simulator without it, but I needed to add it in order for it to work on my actual phone.
If you run this on a device without multi-tasking (I'm using ipod touch 2nd gen) the origional code works fine (with exception to adding the / for the file path) otherwise i'm not sure which method is called if you double tap the menu button and terminate the application that way.
Second bug: There is a slash missing then you initialize the file path. It should be '[docsFolder stringByAppendingFormat:@"/myFile.plist"]'
Third bug: reading the file content as you do didn't work in my setup. I used 'NSString *fileContents = [NSString stringWithContentsOfFile:filePath encoding:NSUnicodeStringEncoding error:&errorReading]' instead. But this wasn't enough: if the file is a pList, it's still read incorrectly that way. Don't use any extension, or maybe "txt", but not "plist"
I am having the same results are you are. I think 4.0 saves users states automatically now but Im trying ti figure out how exactly to save info for when the application is completely terminated so I can save highscores