Termination

TerminationGetting stuff to (safely) shut down is another application delegate responsibility. To handle termination, the application delegate implements the delegate method applicationWillTerminate: to save any unsaved data or key application state (where the user is in the application — the current view and stuff like that) to disk. (Okay, I know, the disk in the iPhone is not really a disk; it’s a solid state drive that Apple calls a disk, but if it calls it that, I probably should, too, just so I don’t confuse too many people.). You can also use this method to perform additional cleanup operations, such as deleting temporary files.

2 thoughts on “Termination

  1. I am really enjoying the theme/design of your weblog. Do you ever run into any web browser compatibility problems? A few of my blog readers have complained about my blog not operating correctly in Explorer but looks great in Chrome. Do you have any ideas to help fix this issue?