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 back to the smaller screen size? Not everyone has the iPhone 5.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.
回答2:
There's a size property in the attributes, so you can choose the pre iPhone5 size of 3.5
回答3:
Update: It's now under Editor->Simulated Screen. It's combined with orientation (portrait vs. landscape).
回答4:
You can switch between the Form Factors(IPhone 5 and the previous versions) by clicking on Editor->Apply Form Factor