iOs set Storyboard orientation to landscape

我的梦境 提交于 2019-12-10 12:31:19

问题


I wish to set View Controller's orientation as landscape in Storyboard. I referred the below links but couldn't find the "orientation" option anywhere (screenshot attached)

Links referred:

Designing in landscape with Storyboards

iOS 7 XCode 5 Storyboard set orientation to Landscape


回答1:


In xcode 8 the option to change the orientation is not from Inspector, you will be able to change the orientation from bottom bar, please check the screenshot




回答2:


Xcode 8 provides the option for landscape orientation from Storyboard itself.



来源:https://stackoverflow.com/questions/39825425/ios-set-storyboard-orientation-to-landscape

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