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