From f343362a4a07104b7cbc821227c355ea86bd48ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Tue, 1 Mar 2022 19:24:14 +0100 Subject: [PATCH] Update OperatingSystem.IsIOS() docs to mention MacCatalyst IsIOS() also returns true on MacCatalyst since https://github.com/dotnet/runtime/commit/14854e209868749262bd58a64407b3802177542f, update the docs to clarify that. --- xml/System/OperatingSystem.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xml/System/OperatingSystem.xml b/xml/System/OperatingSystem.xml index 044ebea31a8..d983e13753b 100644 --- a/xml/System/OperatingSystem.xml +++ b/xml/System/OperatingSystem.xml @@ -449,9 +449,9 @@ - Indicates whether the current application is running on iOS. + Indicates whether the current application is running on iOS or MacCatalyst. - if the current application is running on iOS; otherwise. + if the current application is running on iOS or MacCatalyst; otherwise. To be added. @@ -491,9 +491,9 @@ The major release number. The minor release number. The build release number. - Checks if the iOS version (returned by libobjc.get_operatingSystemVersion) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified iOS version. + Checks if the iOS/MacCatalyst version (returned by libobjc.get_operatingSystemVersion) is greater than or equal to the specified version. This method can be used to guard APIs that were added in the specified iOS version. - if the current application is running on an iOS version that is at least what was specified in the parameters; otherwise. + if the current application is running on an iOS/MacCatalyst version that is at least what was specified in the parameters; otherwise. To be added.