[cherry] [FABRIC-7708] [ios] Fixed UI layout bug.

This commit is contained in:
Ilya Grechuhin 2017-05-25 16:06:13 +03:00
parent 46e368af05
commit d775c89902

View file

@ -120,7 +120,7 @@ NSArray<UIImage *> * imagesWithName(NSString * name)
CGFloat const leftOffset =
self.hidden ? -self.view.width : self.leftBound + kViewControlsOffsetToBounds;
UIView * ov = self.view.superview;
[ov layoutIfNeeded];
[ov setNeedsLayout];
self.topOffset.constant = topOffset;
self.leftOffset.constant = leftOffset;
[UIView animateWithDuration:kDefaultAnimationDuration