I have a simple question about one of my iPhone applications.
I have a few global counters that store numbers from 0 up to 13, and once the program is terminated (click stop on simulator) and reopened in debug mode, the counters still have the same information as the previous run. Where in my code should I reset all my counters? Ideally I only want them to be reset if you terminate the program from the iPhone multitasking feature (double tap home button and exit program).
There isn't any code that is necessary to see, and I don't want to have a button that you can press to reset the counters either.
Any suggestions?