1
MPMoviePlayer显示在RootViewController上。在进入后台时,我弹出了MPMoviePlayerController。
但是在进入前景时,电影播放器屏幕被溅出一秒钟然后消失。在iOS中输入背景时退出MPMoviePlayer Objective-C
我需要的不是在进入前景时显示电影播放器视图。 有什么办法可以做到这一点?
MPMoviePlayer显示在RootViewController上。在进入后台时,我弹出了MPMoviePlayerController。
但是在进入前景时,电影播放器屏幕被溅出一秒钟然后消失。在iOS中输入背景时退出MPMoviePlayer Objective-C
我需要的不是在进入前景时显示电影播放器视图。 有什么办法可以做到这一点?
这是因为系统在应用程序移动到背景时拍摄应用程序主窗口的快照,当您输入前景时会显示该背景。
希望这会帮助你更好地理解事物。 [控制在了iOS 7多任务切换的屏幕截图]的
Prevent iOS from taking screen capture of app before going into background
The exact moment iOS takes the view snapshot when entering background?
可能重复(http://stackoverflow.com/questions/18959411/controlling-the-screenshot-in-the- ios-7-multitasking-switcher) – 2015-04-01 15:17:41
希望这会对你有所帮助。 http://stackoverflow.com/questions/7937998/the-exact-moment-ios-takes-the-view-snapshot-when-entering-background 试试这个。 – 2015-04-02 04:46:41