diff --git a/src/Controls/src/Core/Handlers/Items/iOS/ItemsViewController.cs b/src/Controls/src/Core/Handlers/Items/iOS/ItemsViewController.cs index 7edc7e9c6f9e..3083ee63ac83 100644 --- a/src/Controls/src/Core/Handlers/Items/iOS/ItemsViewController.cs +++ b/src/Controls/src/Core/Handlers/Items/iOS/ItemsViewController.cs @@ -567,7 +567,7 @@ protected virtual void HandleFormsElementMeasureInvalidated(VisualElement formsE internal void UpdateView(object view, DataTemplate viewTemplate, ref UIView uiView, ref VisualElement formsElement) { // Is view set on the ItemsView? - if (view is null && viewTemplate is null) + if (view is null) { if (formsElement != null) { diff --git a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue11896.cs b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue11896.cs index a057489b7ddf..578ed66bde2d 100644 --- a/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue11896.cs +++ b/src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue11896.cs @@ -1,4 +1,4 @@ -#if !MACCATALYST && !WINDOWS +#if !MACCATALYST && !WINDOWS && !IOS using NUnit.Framework; using UITest.Appium; using UITest.Core;