摘要: 在更新约束时,要调用: // 告诉self.view约束需要更新 [self.view setNeedsUpdateConstraints]; // 调用此方法告诉self.view检测是否需要更新约束,若需要则更新,下面添加动画效果才起作用 [self.view updateConstraints 阅读全文
posted @ 2016-04-05 16:23 tongyuling 阅读(3027) 评论(0) 推荐(0) 编辑