편집

다음을 통해 공유


PlatformHelper.GetHostApiPlatform Method

Definition

Returns a Platform enumeration value for the currently executing host machine.

public static ObjCRuntime.Platform GetHostApiPlatform ();
static member GetHostApiPlatform : unit -> ObjCRuntime.Platform

Returns

The platform for the host.

Remarks

On Mac OS X this information is parsed from /System/Library/CoreServices/SystemVersion.plist; on iOS from UIDevice.CurrentDevice.

Applies to