diff --git a/src/client/Microsoft.Identity.Client/Platforms/iOS/EmbeddedWebview/MsalAuthenticationAgentUIViewController.cs b/src/client/Microsoft.Identity.Client/Platforms/iOS/EmbeddedWebview/MsalAuthenticationAgentUIViewController.cs index 6549f4eec5..8568255e48 100644 --- a/src/client/Microsoft.Identity.Client/Platforms/iOS/EmbeddedWebview/MsalAuthenticationAgentUIViewController.cs +++ b/src/client/Microsoft.Identity.Client/Platforms/iOS/EmbeddedWebview/MsalAuthenticationAgentUIViewController.cs @@ -54,7 +54,10 @@ protected WKWebView PrepareWKWebView() { WKWebViewConfiguration wkconfg = new WKWebViewConfiguration() { }; #if !IS_APPCENTER_BUILD - wkconfg.DefaultWebpagePreferences.PreferredContentMode = WKContentMode.Mobile; + if (UIDevice.CurrentDevice.CheckSystemVersion(13, 0)) + { + wkconfg.DefaultWebpagePreferences.PreferredContentMode = WKContentMode.Mobile; + } #endif _wkWebView = new WKWebView(View.Bounds, wkconfg) {