标签:
[self.view layoutIfNeeded]; [self.subView setNeedsUpdateConstraints]; [self.subView updateConstraintsIfNeeded]; [UIView animateWithDuration:1.0f delay:0.0f options:UIViewAnimationOptionLayoutSubviews animations:^{ [self.view layoutIfNeeded]; } completion:nil];
An animation block that calls the subviews updateConstraints method
标签:
原文地址:http://www.cnblogs.com/newBlash/p/4549816.html