UIDevice.CheckSystemVersion(Int32, Int32) 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.
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
- minor
- Int32
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.