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 trialKeli'i Martin
8,227 PointsConstraint constants seem to be inverse in latest Xcode
Maybe it's just me, but every time I add a constraint constant that Pasan gives, my UI elements end up on the wrong part of the UI? For example, the ImageView for the temperature background. Pasan said to center it horizontally with a constant of 88. Doing that places the ImageView towards the left of the cell. When I do it, my ImageView ends up near the right of the cell. This was the case for all the constraints to initially set up the new Weekly view as well.
I am using Xcode 7.2.1 right now. Did something happen between when this video was shot and now that would have flipped the constraint constants in this manner?
1 Answer
Igor Alves
Courses Plus Student 4,115 Pointsit also happens tome, what i do is first update the constraints in the resolve auto layout issues annd then a update the frames(if necessary)
Steven Alvarez
5,509 PointsSteven Alvarez
5,509 PointsI have the same issue. I attempted going through the steps from scratch multiple times each resulting in elements overlapping or in the exact inverse position of what is shown in the video.