Remove all constraints affecting a UIView
This approach worked for me: @interface UIView (RemoveConstraints) – (void)removeAllConstraints; @end @implementation UIView (RemoveConstraints) – (void)removeAllConstraints { UIView *superview = self.superview; while (superview != nil) { for (NSLayoutConstraint *c in superview.constraints) { if (c.firstItem == self || c.secondItem == self) { [superview removeConstraint:c]; } } superview = superview.superview; } [self removeConstraints:self.constraints]; self.translatesAutoresizingMaskIntoConstraints = YES; } … Read more