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 trialJames Rimmer
2,603 PointsConstraint priorities - cannot shift red I-bars on iPhone 4s
Following the 'Constraint Priorities' video exactly as stated, I still cannot resolve the red I-bars for the iPhone 4s screen size. I have set the vertical constraint between the 'Second' label and the bottom safe area to a priority of 750 but it is still not displaying correctly. I am using Xcode 9.3 and would be grateful for some help on this
3 Answers
James Rimmer
2,603 PointsAlthough it doesn't seem to work with the priority of 750 (as is used in the video), it does work when you use a priority of 500 or 250. Is this a change in Xcode 9.3?
theo Vog
2,289 PointsSame issue here. Can someone explain what changed with the new version of Xcode ?
Huseyn Guliyev
2,603 PointsWhen I tried 500 instead of 750 it worked. I guess something had changed from the time the video was shot and now High priority is not low enough in this case.
Adam Teale
10,989 PointsAdam Teale
10,989 PointsThe same issue appeared for me too. Xcode recommended - Increase vertical compression resistance of "Second" from 750 to 751 to keep it's intrinsic height before other views. Now the view appears like it does in the tutorial