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 trialKamil Wrobel
5,546 PointsHow do you remove constraints?
I followed the video, and messed up somewhere on the constraints. Can someone tell me how to remove them so i can start fresh?
...Thanks.
1 Answer
Tommy Choe
38,156 PointsHey Kamil, I'm guessing you added the constraints through Interface Builder. Here are a few different ways to remove constraints through the storyboard but this is probably the easiest way.
After you click the object that you are trying to remove the constraints for, go to your size inspector (cmd + option + 5 on mac or just go to the utilities panel and look for the ruler icon) and you'll see a container with a heading labeled "constraints". Within that container, you can find the constraints that are applied to your object. just click through each one and delete it.
Let me know if you're still having trouble getting rid of the constraints or if you have any other questions.