Interface orientation in iOS 6.0

前端 未结 5 1386
[愿得一人]
[愿得一人] 2020-12-01 05:19

How to use the following methods to support interface orientation in iOS 6.0:

shouldAutorotate

supportedInterfaceOrientations

preferredInterfaceOrientation         


        
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 06:11

    By the way, your settings on your Xcode project settings now take precedence. Make sure that you set the "Supported interface orientations" array properly in your project's settings. That was the issue for me. Removed the undesired ones and my app worked like it did when I compiled with Xcode 4.4.1

提交回复
热议问题