Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Simple iPhone App (iOS7) Getting Started Adding a UIButton

Julius Danek
Julius Danek
4,935 Points

Hi! XCode6 is different from your example. The storyboard is not the iPhone but any height and any width.

Hi! How can we adjust the storyboard in Xcode 6 to reflect the layout that you have? The standard settings in XCode 6 are not the iPhone Retina screen but any device settings.

3 Answers

Jason Wayne
Jason Wayne
11,688 Points

In the storyboard, go to Assistant Editor -> Show file inspector -> uncheck Use Sizes Classes

That should give you like the one we see in the videos.

Julius Danek
Julius Danek
4,935 Points

Awesome! Thank you Jason. What are the size classes exactly and how are they used? Just curious

Jason Wayne
Jason Wayne
11,688 Points

Based on my observation, when you turn off the size classes, the storyboard defaults to 4 inches.

With Size Classes, you can specify the layout of the devices. If you notice, if you didn't turn off the Size Classes, you will see that at the bottom of the storyboard, there is wAny hAny. If you click on that, you can see that you can specify the layouts. For instance, fixed it for all iPhones to be in Portrait.

Hope I didn't confuse you. =S