When the user gets out of the app or changes apps while a MPMoviePlayerViewController is being displayed, then they get back in to the app the MPMoviePlayerViewController is still there for about a half of a second. I want to either keep the MPMoviePlayerViewController up, or have it out of the way before the user can see it when they re-open the app, or just dismiss the MPMoviePlayerViewController right before the user gets out of the app. Right now I plan to dismiss the MPMoviePlayerViewController in my AppDelegate just before the user leaves the app.
So I want to know if it is possible to call the done button on the MPMoviePlayerViewController, and I want to do this from my AppDelegate