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 trialjakesager
12,023 PointsInequality Constraint Ambiguity
Hi there,
When I added the "greater than or equal to" and "less than or equal to" constraints to the helmet / header text, I got two warnings for "Inequality Constraint Ambiguity" on the two inequality statements. I'm not sure what is causing this, but in my preview screen it did not position the text towards the center of the screen like it did in Pasan's video. I ensured that all of my constraints matched, so I'm not sure why I'm experiencing this. Anyone have a clue?
2 Answers
Tunde Adegoroye
20,597 PointsHey man seems like there's been a lot of changes with Autolayout in swift3 and xcode i'd suggest watching the WWDC videos on adaptive layouts here https://developer.apple.com/search/?type=Videos&q=adaptive
John Newton
44,204 PointsI'll have to check out the WWDC videos later for further research. But was anyone able to solve this specifically for the video exercise?
jakesager
12,023 Pointsjakesager
12,023 PointsThis must be an issue with Swift 3, because when I downloaded the project files and converted them into Swift 3, it gave the same errors I'm experiencing. Hopefully this can be fixed / explained in the future videos with the Swift 3 track.