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
Daniel Ahmed
2,034 PointsXcode misplaced view help
Hello, I'm trying to take what i've learned from the Algorythm app and put them to use, but encountered a problem. I've made around 4 UI Views and linked them together but when I try to run the app I see that things aren't working properly I get an error saying "Frame for "bButton" will be different at run time." I've tried changing the code and tried revising to see what caused the problem but can't see what went wrong.
1 Answer
Walter Somerville
20,698 PointsThe problem likely has something to do with your auto layout constraints. If you click on the yellow arrow on the storyboard document outline and then click the icons next to each error you can also have Xcode update the constraints or frames itself (which is super handy).
hope that helps!