title: iOS MPMoviePlayerViewController - How to dismiss when app is sent to background?
body: <p>I have an app that plays video clips using a subclassed MPMoviePlayerViewController, and I want to ensure the movie player is dismissed when the user leaves the app (when it enters the background).
  This is necessary as when they re-enter the app, it doesn't seem to load the Movie URL correctly, so they get a blank movie player that is constantly loading.</p>
  
  <p>Normally, I dismiss the Movie Player using [self dismissMoviePlayerViewControllerAnimated] when the Done button is pressed.</p>
  
  <p>What is the proper way to dismiss the player when the application resigns active (or moves to background)? </p>