Only support for landscape Interface orientation

后端 未结 2 1442
遇见更好的自我
遇见更好的自我 2021-01-24 11:06

I have application that uses landscape right orientation. In view controllers I use:

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)inter         


        
2条回答
  •  无人及你
    2021-01-24 11:34

    Try setting the UIInterfaceOrientation key in your Info.plist to UIInterfaceOrientationLandscapeRight. That should force landscape right orientation on launch.

提交回复
热议问题