您的位置:首页 > 大数据 > 人工智能

An animation block that calls the subviews updateConstraints method

2015-06-03 17:45 204 查看
原文链接:http://www.cnblogs.com/newBlash/p/4549816.html
[self.view layoutIfNeeded];
[self.subView setNeedsUpdateConstraints];
[self.subView updateConstraintsIfNeeded];
[UIView animateWithDuration:1.0f delay:0.0f options:UIViewAnimationOptionLayoutSubviews animations:^{
[self.view layoutIfNeeded];
} completion:nil];

 

转载于:https://www.cnblogs.com/newBlash/p/4549816.html

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐