Interface orientation in iOS 6.0

前端 未结 5 1400
[愿得一人]
[愿得一人] 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:08

    https://devforums.apple.com/thread/165384?tstart=0

    https://devforums.apple.com/thread/166544?tstart=0

    There are a number of examples and suggestions in the above threads relating to supporting interface orientation changes on iOS6, the two threads related to issues with game centre views but should be enough to get you started.

    You should also check the iOS6 release notes under UIKit, unfortunately I can't give you a direct link since I'm new.

    Avoiding posting code here due to NDA

    Hope that helps

提交回复
热议问题