How to get default LandscapeLeft Orientation in iOS5?

前端 未结 4 1037

Sorry if this question is duplicate, but I can\'t find the same solution. In iOS6, if I want to set default orientation for one UIViewController, I just use:

- (         


        
4条回答
  •  一向
    一向 (楼主)
    2021-01-28 02:49

    If you want to achieve this for whole application, change supported orientation UISupportedInterfaceOrientations in app.plist file

提交回复
热议问题