Editare

Partajați prin


OperatingSystem.IsIOS Method

Definition

Indicates whether the current application is running on iOS or MacCatalyst.

public:
 static bool IsIOS();
public static bool IsIOS ();
[System.Runtime.Versioning.SupportedOSPlatformGuard("maccatalyst")]
public static bool IsIOS ();
static member IsIOS : unit -> bool
[<System.Runtime.Versioning.SupportedOSPlatformGuard("maccatalyst")>]
static member IsIOS : unit -> bool
Public Shared Function IsIOS () As Boolean

Returns

true if the current application is running on iOS or MacCatalyst; false otherwise.

Attributes

Applies to