Masonry
Masonry copied to clipboard
update Constraints in the example not work
Can you try updating the pod to latest version (1.1.0)?, if not.
Or tweak the priority like this:
[make.width.equalTo(@(self.buttonSize.width)) priorityLow]; [make.height.equalTo(@(self.buttonSize.height)) priorityLow]; [make.width.lessThanOrEqualTo(self) priorityHigh]; [make.height.lessThanOrEqualTo(self) priorityHigh];
it generates some warnings, but only at the moment the button width reaches the superView width.