mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
iPad SplitView/SlideOver support
This commit is contained in:
@ -34,7 +34,11 @@ class Window extends UIWindow {
|
||||
}
|
||||
|
||||
public layoutSubviews(): void {
|
||||
if (utils.ios.MajorVersion < 9) {
|
||||
uiUtils.ios._layoutRootView(this._content, utils.ios.getter(UIScreen, UIScreen.mainScreen).bounds);
|
||||
}else{
|
||||
uiUtils.ios._layoutRootView(this._content, this.frame);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user