【更新约束,VC版】
@interface UIViewController (UIConstraintBasedLayoutCoreMethods)
//更新约束,调用所有子视图的updateConstraints
//VC中在 viewWillAppear之后,在 viewWillLayoutSubviews之前
- (void)updateViewConstraints NS_AVAILABLE_IOS(6_0);
@end
【更新约束,VC版】
@interface UIViewController (UIConstraintBasedLayoutCoreMethods)
//更新约束,调用所有子视图的updateConstraints
//VC中在 viewWillAppear之后,在 viewWillLayoutSubviews之前
- (void)updateViewConstraints NS_AVAILABLE_IOS(6_0);
@end