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 What is an IBAction?

Reagan Jobe
PLUS
Reagan Jobe
Courses Plus Student 15,598 Points

Do you all have any updates for iOS development with Xcode 6 and the new views/layouts they handle now?

When using the latest Xcode it makes it so that you have to select a number of different options to choose from like any width | any height ect. This makes it so that it isn't the same as what is on the screen. Can someone clarify how to match this course?

2 Answers

Stone Preston
Stone Preston
42,016 Points

you need to use the grid control by selecting the wAny hAny buttons at the bottom of your storyboard and choose the compact width. that will get your views iPhone sized and not the large universal ones.

here is a picture of what I mean

"This makes it so that it isn't the same as what is on the screen."

Just select the correct device in the iOS Simulator to test with. If in the tutorials they're using iPhone 4S running on iOS 6.0, choose iPhone 4S as your simulation device and iOS 6.0 as your deployment target.

Stone Preston
Stone Preston
42,016 Points

he would need to use auto layout to get his controls to show up in the correct places if he stuck with the universal sized storyboard views.

Whoops. Don't think I understood his question entirely.