iosobjective-cxcodexcode6

How to remove a constraint that is already set in Xcode storyboard


As the title says, I would like to remove a constraint that is already set in the storyboard. However I did not find any UI option in Xcode that allows me to do so. How can I remove an already existing constraint?

Thanks.


Solution

  • Just select the view you want to remove a constraint from and open the size inspector. You should see a list of all the constraints. Select the one you want to delete, and press the delete key.