fix(layouts): Set automaticallyAdjustsScrollViewInsets (#5311)

This commit is contained in:
Alexander Vakrilov
2018-01-23 17:53:31 +02:00
committed by Svetoslav
parent 58d61caf59
commit b492996647
4 changed files with 77 additions and 66 deletions

View File

@ -106,6 +106,9 @@ class UIViewControllerImpl extends UIViewController {
frame._updateActionBar(owner);
}
// Set autoAdjustScrollInsets in will appear - as early as possible
iosView.updateAutoAdjustScrollInsets(this, owner);
// Pages in backstack are unloaded so raise loaded here.
if (!owner.isLoaded) {
owner.callLoaded();
@ -419,4 +422,4 @@ function invalidateTopmostController(controller: UIViewController): void {
invalidateTopmostController(childController);
}
}
}
}