Handling 'suspend' in iOS apps

2011-06-14 Thread Terry Judd
What¹s the best way to handle the situation when a user exits an iOS app by clicking the home button and what messages are sent? Our app has a data entry component and typically we¹d ask the user if they wanted to save their stuff before they exited but clicking the home button just exits

Re: Handling 'suspend' in iOS apps

2011-06-14 Thread Gerry Orkin
I just save all the stuff I need to to .txt files every time the app quits, and reload it on startup. For my situation that provides the neatest way to implement the suspension and resumption of an app. In your case perhaps you can save the data then ask if they want it restored when they open

Re: Handling 'suspend' in iOS apps

2011-06-14 Thread Terry Judd
Thanks Gerry - seems like getting my app to 'suspend' was a one-off glitch that I can't repeat - like you say, it always quits now. So, it seems that the shutdown message is the only one that gets sent - for the moment I think we'll just implement an automated save and tell our students that's