OperatingSystem.IsMacCatalystVersionAtLeast(Int32, 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.
Check for the Mac Catalyst version (iOS version as presented in Apple documentation) with a ≤ version comparison. Used to guard APIs that were added in the given Mac Catalyst release.
public static bool IsMacCatalystVersionAtLeast (int major, int minor = 0, int build = 0);
static member IsMacCatalystVersionAtLeast : int * int * int -> bool
Public Shared Function IsMacCatalystVersionAtLeast (major As Integer, Optional minor As Integer = 0, Optional build As Integer = 0) As Boolean
Parameters
- major
- Int32
The version major number.
- minor
- Int32
The version minor number.
- build
- Int32
The version build number.
Returns
true
if the Mac Catalyst version is greater or equal than the specified version comparison; false
otherwise.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา