Bring back ios property of CustomLayoutView

This commit is contained in:
Hristo Hristov
2017-11-08 13:19:31 +02:00
parent 1778ba1eb9
commit edb0eb1721

View File

@ -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.
}