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 trialTyler Miller
iOS Development Techdegree Student 8,299 PointsAuto 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
26,676 PointsHi 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.
ogechi1
14,455 PointsHere's a handy tutorial on using Auto Layout:
Matt Miller
2,043 PointsGood stuff, this helped me with my problem. Thank you!