iOS: How does one animate to new autolayout constraint (height)

After updating your constraint:

[UIView animateWithDuration:0.5 animations:^{[self.view layoutIfNeeded];}];

Replace self.view with a reference to the containing view.

Leave a Comment