Why all the element moved when adding a constraint in storyboard?
问题 I design all my element nicely for a prototype cell of tableView ,but whenever I add a new constraint for my element,all element just moved and become like image below: It happen often,may I know why is this happen and how to prevent it? EDIT : For example,before adding constraint it look like this The white part in the center is a stack view,so I set it to leading = 0 and trailing=0 .And then I add a constraint inside the stack view to leading=0 which it align with the stackview all element