Xcode 11 add new constraints set zero: use set value instead of default / standard
问题 I used to use autolayout add new constraints to make simple constraints to superview / relative view like this (for loooong time): However, recently after updated to the latest xcode (11.3.3 or just 11.3/11C29), I have this weird issue: when I set the constant = 0, they always generate the constraints in an unwanted way like this: And it seems default value is somehow 20 and making my view look so wrong (0 compared to 20?) If I fix that by edit the constraint like this: Then it'll correct