MvvmCross -- MvxViewController, and ShouldAutorotateToInterf



我想在MvvmCross中旋转屏幕的方向。通常,我会简单地重写ShouldAutorotateToInterfaceOrientation,尽管在继承MvxViewController时重写此方法时会发现此方法已过时。

该方法已被ios6及更高版本弃用-请参阅问题和链接中的一些详细信息,如:

  • shouldAutorotateToInterfaceOrientation在iOS 6中不起作用
  • http://www.sundoginteractive.com/sunblog/posts/where-did-shouldautorotatetointerfaceorientation-go-in-ios-6
  • http://developer.apple.com/library/ios/ipad/#releasenotes/General/RN-iOSSDK-6_0/

最新更新