編輯

共用方式為


UIDevice.CheckSystemVersion(Int32, Int32) Method

Definition

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.

Applies to