PlatformHelper.CompareIosVersion(Platform, Platform) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.