title: applicationWillTerminate not getting called on force quit of iOS app
body: <p>Does anyone have any insights into when/under what conditions applicationWillTerminate is called in iOS 5/6?</p>
  
  <p>I've got some logic i'd like to execute whenever the application terminates (not moves to the background), for example if the user navigates to the application bar at the bottom of the screen by double tapping the home button and force quits the app.</p>
  
  <p>when i try to do this on a test device, applicationWillTerminate does not seem to get called. Is there a reason for this?</p>
  
  <p>My plan B is to tie that logic to some persistent object like a singleton or a static that is automatically destroyed when the app quits.</p>
  
  <p>Any suggestions?</p>
  
  <p>thanks</p>