mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
iPad SplitView/SlideOver support
This commit is contained in:
@ -34,7 +34,11 @@ class Window extends UIWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public layoutSubviews(): void {
|
public layoutSubviews(): void {
|
||||||
|
if (utils.ios.MajorVersion < 9) {
|
||||||
uiUtils.ios._layoutRootView(this._content, utils.ios.getter(UIScreen, UIScreen.mainScreen).bounds);
|
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