Xcode Storyboard displaying the new iPhone 5 screen size?

前端 未结 4 1940
情歌与酒
情歌与酒 2020-12-31 00:04

I have the latest version of Xcode. In one of my projects I noticed that the views for the iPhone were the new iPhone 5 screen sizes. I like it but is there a way to switch

相关标签:
4条回答
  • 2020-12-31 00:13

    Also, when your building your interface, you'll see a small icon that lets you quickly switch between 4" and 3.5" screens. It's the rectangular icon on the left. It toggles back and forth between phone sizes.

    The icon on the left lets you switch display sizes

    0 讨论(0)
  • 2020-12-31 00:19

    There's a size property in the attributes, so you can choose the pre iPhone5 size of 3.5

    enter image description here

    0 讨论(0)
  • 2020-12-31 00:23

    Update: It's now under Editor->Simulated Screen. It's combined with orientation (portrait vs. landscape).

    0 讨论(0)
  • 2020-12-31 00:24

    You can switch between the Form Factors(IPhone 5 and the previous versions) by clicking on Editor->Apply Form Factor

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