when i press the home button on an OS4 device, it quits my app. i see the destructors for my components being called. However, on an OS5 device, the app does not quit, instead it lurks in the background.
Question #1, is there an event to detect this?
Now, it seems the usual way to finish an app under OS5 is to hold the home button and press the little minus that appears over the apps that are revealed to be running in the background.
Question #2, is this the normal way people terminate apps under OS5?
It seems that terminating apps in this way really terminates them. ie they are killed outright. the destructors of components are not called.
Question #3, is there an event received shortly before this happens?
Based on these observations, i have discovered that it’s a bad move to do anything useful on shutdown, such as save unsaved data. instead it has to be saved as you go.
Can anybody enlighten me on this subject.
thanks for any help.