Hi Phil,
You can implement "applicationWillTerminate" method in your
application delegate implementation file. Which will be called if you
app is shutting down for any reason.
It depends, you store the state in the database, application
preferences, I think it would depend on the data.
I know Apple said that we could store the status of the app in their
cloud and get it again when the application is launched.
On Aug 19, 9:08 am,
potemki...@googlemail.com wrote:
> Hello,
>
> thank you for the tutorials - great job! I have a question regarding
> the invoking of the preferences within an app, but I will ask it in
> the comments sections.
>
> Back to the second part of the question of this thread on how to
> maintain state. Is it possible to dump an object to memory when the
> app is quitting or should
> I always store the current content and data of the app in a XML file
> or something similar as the application might be killed rather
> aprupt?
>
> Thanks,
> Phil
>
> On Aug 17, 6:39 am,
iphoneartic...@gmail.com wrote:
>
> > Hello,
>
> > I have two new tutorials on Application Preferences.
>
> >
http://www.iphonesdkarticles.com/2008/08/application-preferences.html......