Skip to content

Commit edb0eb1

Browse files
Hristo HristovHristo Hristov
authored andcommitted
Bring back ios property of CustomLayoutView
1 parent 1778ba1 commit edb0eb1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tns-core-modules/ui/core/view/view.ios.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,10 @@ export class CustomLayoutView extends View {
468468
this.nativeViewProtected = UIView.alloc().initWithFrame(iosUtils.getter(UIScreen, UIScreen.mainScreen).bounds);
469469
}
470470

471+
get ios(): UIView {
472+
return this.nativeViewProtected;
473+
}
474+
471475
public onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void {
472476
// Don't call super because it will set MeasureDimension. This method must be overriden and calculate its measuredDimensions.
473477
}

0 commit comments

Comments
 (0)