constraints is funny
if u use Masonry or updateConstraints to a UIView, may no reaction till u drag one constraints to it…
- storyboard default has constraints already (if u dun drag any) it just the current frame be the constraints (if u tick autolayout which is usually ticked)
- when u drag the constraints, it override
- when u code using Masonry or constrains programming, it override
But sometimes it will say broken, becoz the constraints jammed… so… one solution:
it will ignore all the storyboard constraints, so u can use the coding one now.