diff --git a/Xamarin.Essentials/AppInfo/AppInfo.ios.tvos.watchos.macos.cs b/Xamarin.Essentials/AppInfo/AppInfo.ios.tvos.watchos.macos.cs index 8ef60bf9a..a295d414c 100644 --- a/Xamarin.Essentials/AppInfo/AppInfo.ios.tvos.watchos.macos.cs +++ b/Xamarin.Essentials/AppInfo/AppInfo.ios.tvos.watchos.macos.cs @@ -31,7 +31,10 @@ static void PlatformShowSettingsUI() { MainThread.BeginInvokeOnMainThread(() => { +// Ignore obsolete for the time being. Will be updated in a future release. +#pragma warning disable CS0618 // Type or member is obsolete var prefsApp = ScriptingBridge.SBApplication.FromBundleIdentifier("com.apple.systempreferences"); +#pragma warning restore CS0618 // Type or member is obsolete prefsApp.SendMode = ScriptingBridge.AESendMode.NoReply; prefsApp.Activate(); });