iOS: Initial interface orientation[UIInterfaceOrientation] being ignored in plist

后端 未结 2 701
终归单人心
终归单人心 2021-01-14 03:11

I\'m trying to set the initial orientation for my app to be UIInterfaceOrientationLandscapeLeft

I cant get

\'Initial interface orientation\'[UIInter         


        
2条回答
  •  无人及你
    2021-01-14 04:10

    Despite the documentation, UIInterfaceOrientation is ignored. Use only UISupportedInterfaceOrientations. To specify which one you prefer to launch into, make it the first one listed in UISupportedInterfaceOrientations.

    It is then up to your individual view controllers to rule out any orientations they refuse to adopt.

提交回复
热议问题