, 50 px 100 - , , " ", .
constraint, willRotateToInterfaceOrientation:duration: constant constraint layoutIfNeeded .
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
{
[super willRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];
self.myConstraint.constant = (UIInterfaceOrientationIsLandscape(toInterfaceOrientation)) ? 50. : 100.;
[self.someView layoutIfNeeded];
}
( , , )