Merge branch 'main' into ios-new-library-views
This commit is contained in:
commit
98b2b5071f
|
@ -31,6 +31,7 @@ enum CPUModel {
|
||||||
case A12Z
|
case A12Z
|
||||||
case A13
|
case A13
|
||||||
case A14
|
case A14
|
||||||
|
case M1
|
||||||
case A99
|
case A99
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -175,6 +176,7 @@ class DeviceProfileBuilder {
|
||||||
.A12Z: 16,
|
.A12Z: 16,
|
||||||
.A13: 17,
|
.A13: 17,
|
||||||
.A14: 18,
|
.A14: 18,
|
||||||
|
.M1: 19,
|
||||||
.A99: 99,
|
.A99: 99,
|
||||||
]
|
]
|
||||||
return intValues[CPUinfo()] ?? 0 >= intValues[minimumSupported] ?? 0
|
return intValues[CPUinfo()] ?? 0 >= intValues[minimumSupported] ?? 0
|
||||||
|
@ -242,6 +244,7 @@ class DeviceProfileBuilder {
|
||||||
case "iPad8,9", "iPad8,10", "iPad8,11", "iPad8,12": return .A12Z
|
case "iPad8,9", "iPad8,10", "iPad8,11", "iPad8,12": return .A12Z
|
||||||
case "iPad11,3", "iPad11,4", "iPad11,6", "iPad11,7": return .A12
|
case "iPad11,3", "iPad11,4", "iPad11,6", "iPad11,7": return .A12
|
||||||
case "iPad13,1", "iPad13,2": return .A14
|
case "iPad13,1", "iPad13,2": return .A14
|
||||||
|
case "iPad13,8", "iPad13,9", "iPad13,10", "iPad13,11": return .M1
|
||||||
case "AppleTV5,3": return .A8
|
case "AppleTV5,3": return .A8
|
||||||
case "AppleTV6,2": return .A10X
|
case "AppleTV6,2": return .A10X
|
||||||
case "AppleTV11,1": return .A12
|
case "AppleTV11,1": return .A12
|
||||||
|
|
Loading…
Reference in New Issue