OperatingSystem.IsMacCatalyst Method

Definition

Indicates whether the current application is running on Mac Catalyst.

C#
public static bool IsMacCatalyst();

Returns

true if the current application is running on Mac Catalyst; false otherwise.

Applies to

Prodotto Versioni
.NET 6, 7, 8, 9