PlatformHelper.CompareIosVersion(Platform, Platform) Method

Definition

Compares two platform values.

public static int CompareIosVersion (this ObjCRuntime.Platform a, ObjCRuntime.Platform b);
static member CompareIosVersion : ObjCRuntime.Platform * ObjCRuntime.Platform -> int

Parameters

a
Platform

The first platform value to compare.

b
Platform

The second platform value to compare.

Returns

Returns -1 if the first platform is earlier than the second platform, 0 if the platform versions are identical, and 1 if the first platform is later than the second platform.

Applies to