title: Perform NSLog when App is Sent to Background
body: <p>I have a seemingly simple task that I am trying to do. When a user sends my application to the background, I would like to conduct an NSLog to say "app sent to background". I am trying to work with the NSNotificationCenter like <a href="https://stackoverflow.com/questions/9011868/whats-the-best-way-to-detect-when-the-app-is-entering-the-background-for-my-view">What&#39;s the best way to detect when the app is entering the background for my view?</a>, but I am unable to get it to work.</p>
  
  <p>Is it not possible to perform an action right when the user sends the app to the background? Any help would be great!</p>
  
  <p>Thanks! </p>