I have UITabBarController
app which plays video and shows other information in other UITabBar
tabs. In iOS 6 UIView
rotation methods have been deprecated, and now I need to use shouldAutoRotate
and supportedInterfaceOrientations
methods. For video playing I use MPMoviePlayerViewController
.
How to rotate only this player view? I can only rotate whole app, but don't want to do this. I present MPMoviePlayerViewController
but it doesn't rotate as in iOS 5 and earlier.
In plist
setting I've set only 1 Portrait interface orientation. If I set other - whole app will be rotated.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…