1,运行时横屏
将项目属性“General”->“DeviceOritentation”的Portrait复选框去掉
2,storyboard设计视图横屏
在storyboard中,单击中间界面视图的头部,在右侧属性面板中。
把Size设置为iPhone4-inch(4寸屏,也可以选择其他屏幕尺寸)
把Orientation设置成Landscape
1,运行时横屏
转载于:https://www.cnblogs.com/Free-Thinker/p/4838654.html