UIDevice.CheckSystemVersion(Int32, Int32) Method
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
- major
- Int32
- minor
- Int32
true
if the current system version is equal or greater than that specified in the arguments.
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.