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

后端 未结 2 698
终归单人心
终归单人心 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 03:54

    Initial Interface Orientation did not worked for me. I just changed the sequence in supported interface orientation and it worked.

    0 讨论(0)
  • 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.

    0 讨论(0)
提交回复
热议问题