We can change constant property of NSLayoutConstraint, and than use UIView animation block to make the change animated.
myLayoutConstraint.constant = 50;
[UIView animateWithDuration: .3 animations:^{
[view layoutIfNeeded];
}];
However, the subviews of the view, which has layout constraints as their super view, will be animated! They will animate from original zero frame to the target frame of autolayout. How to solve this problem?