From 9e5ac59eeacf71f4d08cca643f0a0438f6cea7e9 Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Fri, 13 Sep 2024 12:45:19 +0200 Subject: [PATCH] chore: Debug mode for inspectable WebView should be checked at runtime --- .../Controls/WebView/Native/iOSmacOS/UnoWKWebView.iOSmacOS.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 b06939822a26..faf405bfc786 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 @@ -67,7 +67,7 @@ public partial class UnoWKWebView : WKWebView, INativeWebView, IWKScriptMessageH } } -#if __IOS__ && DEBUG +#if __IOS__ if (UIDevice.CurrentDevice.CheckSystemVersion(16, 4)) { Inspectable = FeatureConfiguration.WebView2.IsInspectable;