diff --git a/src/Core/src/Platform/iOS/MauiView.cs b/src/Core/src/Platform/iOS/MauiView.cs index 15478ba2d922..16e5100d9bce 100644 --- a/src/Core/src/Platform/iOS/MauiView.cs +++ b/src/Core/src/Platform/iOS/MauiView.cs @@ -139,12 +139,8 @@ public override void LayoutSubviews() var widthConstraint = bounds.Width; var heightConstraint = bounds.Height; - // If the SuperView is a MauiView (backing a cross-platform ContentView or Layout), then measurement - // has already happened via SizeThatFits and doesn't need to be repeated in LayoutSubviews. But we - // _do_ need LayoutSubviews to make a measurement pass if the parent is something else (for example, - // the window); there's no guarantee that SizeThatFits has been called in that case. - - if (!IsMeasureValid(widthConstraint, heightConstraint) && Superview is not MauiView) + + if (!IsMeasureValid(widthConstraint, heightConstraint) /*&& Superview is not MauiView*/) { CrossPlatformMeasure(widthConstraint, heightConstraint); CacheMeasureConstraints(widthConstraint, heightConstraint);