mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Bring back ios property of CustomLayoutView
This commit is contained in:
@ -468,6 +468,10 @@ export class CustomLayoutView extends View {
|
||||
this.nativeViewProtected = UIView.alloc().initWithFrame(iosUtils.getter(UIScreen, UIScreen.mainScreen).bounds);
|
||||
}
|
||||
|
||||
get ios(): UIView {
|
||||
return this.nativeViewProtected;
|
||||
}
|
||||
|
||||
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void {
|
||||
// Don't call super because it will set MeasureDimension. This method must be overriden and calculate its measuredDimensions.
|
||||
}
|
||||
|
Reference in New Issue
Block a user