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

Maxim Andreev
Maxim Andreev
24,529 Points

I can't see the autolayout sub menu when selecting the label (or button, or anything for that matter).

How do I enable it?

I use Xcode 6.1.1

3 Answers

Stone Preston
Stone Preston
42,016 Points

make sure autolayout is enabled in your storyboard file by opening your storyboard, and then selecting the file inspector. there is a checkbox for auto layout

pic

source: http://stackoverflow.com/questions/26519870/constraint-autolayout-bar-hidden-xcode-6

Maxim Andreev
Maxim Andreev
24,529 Points

Thanks that was it!

Cheers.

Stone Preston
Stone Preston
42,016 Points

its not down at the bottom right of xcode? can you post a screen shot of what you have?

Stone Preston
Stone Preston
42,016 Points

try hiding the debug panel (command + shift + y) and then see if they are at the bottom

Maxim Andreev
Maxim Andreev
24,529 Points

Didn't help.

I also tried the control+drag to view but that doesn't do anything either.