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!

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 with Swift Improving Our User Interface Implementing Auto Layout

Tyler Miller
Tyler Miller
iOS Development Techdegree Student 8,299 Points

Auto layout constraints - New iPhones

The constraints shown in the video work well on the 4in iPhones however the on the iPhone 6 and 6 Plus they don't. Maybe an update to the teachers notes would help future students out. My solution was to let Xcode set the suggested constraints.

2 Answers

Chris Shaw
Chris Shaw
26,676 Points

Hi Tyler,

For the moment don't worry about that too much, if you finish this course and move onto the Build a Weather App with Swift Pasan explains how to use constraints to support devices starting from 4" going up to 5.5" and of course this techniques also work for iPad's as well.

Here's a handy tutorial on using Auto Layout: