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 Introduction to Auto Layout in iOS Inequalities, Content and Priorities Constraint Priorities

Can you use Stack Views to make this easier?

Watched a WWDC video on UIStackViews seemed to be perfect for these types of situations.

1 Answer

Steven Deutsch
Steven Deutsch
21,046 Points

Hey Nehemiah Reese,

Unfortunately, I don't have an active membership so I can't look at the video you're referring to, however, stack views are great! They surely make laying out content easier in a ton of situations. My only problem with them is that they are a relatively new feature and require a deployment target of iOS 9. As we approach iOS 10 this is less of a problem, but I still prefer to provide access to as many devices as possible with my apps.