diff --git a/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs b/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs index f412a0f78a43..cc5b799cb80b 100644 --- a/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs +++ b/src/Uno.UI/UI/Xaml/Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs @@ -68,10 +68,10 @@ public partial class UnoWKWebView : WKWebView, INativeWebView, IWKScriptMessageH } } -#if __IOS__ && DEBUG +#if __IOS__ if (UIDevice.CurrentDevice.CheckSystemVersion(16, 4)) { - Inspectable = FeatureConfiguration.WebView2.IsInspectable; + Inspectable = Uno.UI.FeatureConfiguration.WebView2.IsInspectable; } #endif