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

喜欢而已 提交于 2019-12-01 08:06:40

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.

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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!