It\'s working correctly if the app just become inactive/active (when some alert came or by double clicking on home button)
AVPlayer *player; - (void)application
You should call the this methods before application is going to background. [player pause]; or [player stop];