how to provide only one view with landscape for MPMoviePlayerController in IOS6

北城余情 提交于 2019-11-29 17:58:42

You can check my example... https://dl.dropboxusercontent.com/u/19438780/testRotate.zip

I have 2 controllers with navigation controller - portrait; for this I "subclassed" nav controller (here is the "rotation" code for portrait)

The 3th controller is landscape - must be presented modal if you want to rotate it - put the rotation code accordingly .

I would look into preferredInterfaceOrientationForPresentation, I spent about a week on this problem a few months ago. I don't remember exactly how i solved it but I do know it had something to do with implementing that method

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!