MPMoviePlayerViewController rejects when application cancels active state

When I set my iPhone to sleep, switch to another application, etc., and then go back, there is no longer visible MPMoviePlayerViewController(presented presentMoviePlayerViewControllerAnimated:). How can I support it when my application loses focus?

+5
source share
1 answer

I found that the background audio should be specified in the Info.plist file to achieve the desired behavior. But it is interesting that my application was rejected after I added this, because it is forbidden when the application does not make the actual background sound. I think this is called a "dilemma" .;)

+3
source

All Articles