4

In the release notes of Xcode 4.5 it is written

"The Interface Builder canvas includes a new button to toggle between iPhone screen layouts. When you click the button, Xcode resizes full screen views to match the selected iPhone screen size. When the top level views are resized, Xcode uses the resizing rules specified by layout constraints or springs and struts in the size inspector to reflow the contained views. 12290237.

Use this button to toggle between layouts and ensure that the resizing rules you define work as expected on both the new Retina 4 screen and previous screen sizes."

So this probably resolves the problem in adjusting screen layouts with the new longer screen of iPhone5. However, I am not able to find this button. Any help guys?

stud91
  • 1,854
  • 6
  • 31
  • 56

1 Answers1

4

It's at the bottom right corner

resize button in xCode

Sascha
  • 5,903
  • 3
  • 24
  • 20
  • Unfortunately, I can't see this icon..Is it default or you have to activate this. – stud91 Sep 21 '12 at 08:10
  • It is default, but it seems to be visible only if you are using Storyboards. – Sascha Sep 21 '12 at 08:14
  • 1
    So for apps developed prior to Xcode 4.x that didn't use storyboards you can't activate this icon.. – stud91 Sep 21 '12 at 08:21
  • So... if you have developed an app without storyboards, and you want to add a UIView ... what happens? The whole thing with apple ends-up to be disgusting... Instead of writing code, we alter our way of doing things again and again. – Vassilis Oct 31 '12 at 08:02