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 Weather App with Swift (Retired) Displaying Our Weather Data Lots of Labels

Why are my labels too vague when following the steps in the video?

When I follow the steps as outlined, after I control-click to specify the distance to the side and bottom, Xcode still complains that my placement is too vague. I have to add height & width constraints to make it happy again, yet it doesn't appear to be required in the video. Is this a change between versions 6.0 & 6.1 of Xcode or am I missing something?

2 Answers

Naomi Freeman
STAFF
Naomi Freeman
Treehouse Guest Teacher

Any chance you can please screencap the error and/or the menu box immediately to the left of your Storyboard? You pop that one out using the bottom arrow on the Storyboard and it should show Constraints in a menu up at the top. Just use a screenshot sharing tool like http://snag.gy/

Eric Mentele
Eric Mentele
7,325 Points

Check your temperature label and make sure it has "center in container" constraints vertically and horizontally.