File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,11 @@ -(void)setRootViewFrame:(CGRect)frame
422
422
[UIView animateWithDuration: _animationDuration delay: 0 options: (_animationCurve|UIViewAnimationOptionBeginFromCurrentState) animations: ^{
423
423
// Setting it's new frame
424
424
[controller.view setFrame: frame];
425
+
426
+ // Animating content (Bug ID: #160)
427
+ [controller.view setNeedsLayout ];
428
+ [controller.view layoutIfNeeded ];
429
+
425
430
_IQShowLog ([NSString stringWithFormat: @" Set %@ frame to : %@ " ,[controller _IQDescription ],NSStringFromCGRect(frame)]);
426
431
} completion: NULL ];
427
432
}
@@ -984,6 +989,11 @@ - (void)keyboardWillHide:(NSNotification*)aNotification
984
989
_IQShowLog ([NSString stringWithFormat: @" Restoring %@ frame to : %@ " ,[_rootViewController _IQDescription ],NSStringFromCGRect(_topViewBeginRect)]);
985
990
// Setting it's new frame
986
991
[_rootViewController.view setFrame: _topViewBeginRect];
992
+
993
+ // Animating content (Bug ID: #160)
994
+ [_rootViewController.view setNeedsLayout ];
995
+ [_rootViewController.view layoutIfNeeded ];
996
+
987
997
} completion: NULL ];
988
998
_rootViewController = nil ;
989
999
}
You can’t perform that action at this time.
0 commit comments