Share via


UIDevice.CheckSystemVersion(Int32, Int32) Method

Definition

Checks whether the system version is greater than or equal to the specified major and minor values.

public bool CheckSystemVersion(int major, int minor);
member this.CheckSystemVersion : int * int -> bool

Parameters

major
Int32

The major system version to check for.

minor
Int32

The minor system version to check for.

Returns

true if the current system version is equal or greater than that specified in the arguments.

Remarks

This method returns true if the current version on the device is equal or greater than the version specified by major and minor.

This can be used from a background thread.

Applies to