This is a bug found in iOS Example Project.
When I tapped the growingButton in MASExampleUpdateView, the button didn't grow. Probably we need to change the width constraint priority of growingButton from low to medium. I have tried this fix on my project, and it worked fine.
When I printed all constraints of growingButton, and I got this:
This is a bug found in iOS Example Project. When I tapped the
growingButton
inMASExampleUpdateView
, the button didn't grow. Probably we need to change the width constraint priority ofgrowingButton
from low to medium. I have tried this fix on my project, and it worked fine.When I printed all constraints of
growingButton
, and I got this:So, It looks like
make.width.lessThanOrEqualTo(self);
makes a constraint with a default priority( NSLayoutPriorityRequired).