@@ -90,9 +90,30 @@ extension UIDevice {
9090
9191 case " iPhone 15 Pro " , " iPhone 15 Pro Max " :
9292 modelName = " Apple A17 "
93+
94+ case " iPad Mini 2024 " :
95+ modelName = " Apple A17 "
96+
97+ case " iPhone 16 " , " iPhone 16 Pro " , " iPhone 16 Pro Max " , " iPhone 16 Plus " :
98+ modelName = " Apple A18 "
9399
94100 case " iPad Pro 5 12.9 " , " iPad Air 5 " :
95101 modelName = " Apple M1 "
102+
103+ case " iPad Air 11 " :
104+ modelName = " Apple M2 "
105+
106+ case " iPad Pro 11 2024 " , " iPad Pro 13 2024 " :
107+ modelName = " Apple M4 "
108+
109+ case " Apple Watch Series 9 " , " Apple Watch Ultra 2 " :
110+ modelName = " Apple S9 "
111+
112+ case " Apple Watch Series 10 " :
113+ modelName = " Apple S10 "
114+
115+ case " Apple Watch Series 8 " , " Apple Watch Ultra " :
116+ modelName = " Apple S8 "
96117
97118 default :
98119 modelName = " Apple "
@@ -166,6 +187,18 @@ extension UIDevice {
166187
167188 case " Apple A17 " :
168189 cpuSpeedMhz = " 3780 "
190+
191+ case " Apple A18 " :
192+ cpuSpeedMhz = " 4040 "
193+
194+ case " Apple M2 " :
195+ cpuSpeedMhz = " 3490 "
196+
197+ case " Apple M4 " :
198+ cpuSpeedMhz = " 4410 "
199+
200+ case " Apple S8 " , " Apple S9 " , " Apple S10 " :
201+ cpuSpeedMhz = " 1800 "
169202
170203 default :
171204 cpuSpeedMhz = " 0 "
@@ -197,11 +230,14 @@ extension UIDevice {
197230 case " Apple A10 " :
198231 cores = " 4 "
199232
200- case " Apple A10X " , " Apple A11 " , " Apple A12 " , " Apple A13 " , " Apple A14 " , " Apple A15 " , " Apple A16 " , " Apple A17 " :
233+ case " Apple A10X " , " Apple A11 " , " Apple A12 " , " Apple A13 " , " Apple A14 " , " Apple A15 " , " Apple A16 " , " Apple A17 " , " Apple A18 " :
201234 cores = " 6 "
202235
203236 case " Apple A12X " , " Apple A12Z " , " Apple M1 " :
204237 cores = " 8 "
238+
239+ case " Apple M2 " , " Apple M4 " :
240+ cores = " 10 "
205241
206242 default :
207243 cores = " 0 "
@@ -277,6 +313,7 @@ extension UIDevice {
277313 " iPad11,2 " : . iPadMini5,
278314 " iPad14,1 " : . iPadMini6, //2021
279315 " iPad14,2 " : . iPadMini6,
316+ " iPad16,2 " : . iPadMini7,
280317
281318 //iPad Pro
282319 " iPad6,3 " : . iPadPro9_7,
@@ -307,6 +344,10 @@ extension UIDevice {
307344 " iPad13,9 " : . iPadPro5_12_9,
308345 " iPad13,10 " : . iPadPro5_12_9,
309346 " iPad13,11 " : . iPadPro5_12_9,
347+ " iPad16,3 " : . iPadPro11_M4,
348+ " iPad16,4 " : . iPadPro11_M4,
349+ " iPad16,5 " : . iPadPro13_M4,
350+ " iPad16,6 " : . iPadPro13_M4,
310351
311352 //iPad Air
312353 " iPad4,1 " : . iPadAir,
@@ -320,6 +361,8 @@ extension UIDevice {
320361 " iPad13,2 " : . iPadAir4,
321362 " iPad13,16 " : . iPadAir5,
322363 " iPad13,17 " : . iPadAir5,
364+ " iPad14,8 " : . iPadAir6,
365+ " iPad14,9 " : . iPadAir6,
323366
324367
325368 //iPhone
@@ -373,6 +416,10 @@ extension UIDevice {
373416 " iPhone15,5 " : . iPhone15Plus,
374417 " iPhone16,1 " : . iPhone15Pro,
375418 " iPhone16,2 " : . iPhone15ProMax,
419+ " iPhone17,1 " : . iPhone16Pro,
420+ " iPhone17,2 " : . iPhone16ProMax,
421+ " iPhone17,3 " : . iPhone16,
422+ " iPhone17,4 " : . iPhone16Plus,
376423
377424 // Apple Watch
378425 " Watch1,1 " : . AppleWatch1,
@@ -405,6 +452,20 @@ extension UIDevice {
405452 " Watch6,7 " : . AppleWatchS7,
406453 " Watch6,8 " : . AppleWatchS7,
407454 " Watch6,9 " : . AppleWatchS7,
455+ " Watch6,14 " : . AppleWatchS8,
456+ " Watch6,15 " : . AppleWatchS8,
457+ " Watch6,16 " : . AppleWatchS8,
458+ " Watch6,17 " : . AppleWatchS8,
459+ " Watch7,1 " : . AppleWatchS9,
460+ " Watch7,2 " : . AppleWatchS9,
461+ " Watch7,3 " : . AppleWatchS9,
462+ " Watch7,4 " : . AppleWatchS9,
463+ " Watch7,8 " : . AppleWatchS10,
464+ " Watch7,9 " : . AppleWatchS10,
465+ " Watch7,10 " : . AppleWatchS10,
466+ " Watch7,11 " : . AppleWatchS10,
467+ " Watch6,18 " : . AppleWatch6_18,
468+ " Watch7,5 " : . AppleWatch7_5,
408469
409470 //Apple TV
410471 " AppleTV1,1 " : . AppleTV1,
@@ -454,6 +515,7 @@ public enum Model : String {
454515 iPadAir3 = " iPad Air 3 " ,
455516 iPadAir4 = " iPad Air 4 " ,
456517 iPadAir5 = " iPad Air 5 " ,
518+ iPadAir6 = " iPad Air 11 " ,
457519 iPad5 = " iPad 5 " , //iPad 2017
458520 iPad6 = " iPad 6 " , //iPad 2018
459521 iPad7 = " iPad 7 " , //iPad 2019
@@ -468,6 +530,7 @@ public enum Model : String {
468530 iPadMini4 = " iPad Mini 4 " ,
469531 iPadMini5 = " iPad Mini 5 " ,
470532 iPadMini6 = " iPad Mini 6 " ,
533+ iPadMini7 = " iPad Mini 2024 " ,
471534
472535 //iPad Pro
473536 iPadPro9_7 = " iPad Pro 9.7 " ,
@@ -479,6 +542,8 @@ public enum Model : String {
479542 iPadPro3_12_9 = " iPad Pro 3 12.9 " ,
480543 iPadPro4_12_9 = " iPad Pro 4 12.9 " ,
481544 iPadPro5_12_9 = " iPad Pro 5 12.9 " ,
545+ iPadPro11_M4 = " iPad Pro 11 2024 " ,
546+ iPadPro13_M4 = " iPad Pro 13 2024 " ,
482547
483548 //iPhone
484549 iPhone4 = " iPhone 4 " ,
@@ -520,6 +585,10 @@ public enum Model : String {
520585 iPhone15Pro = " iPhone 15 Pro " ,
521586 iPhone15ProMax = " iPhone 15 Pro Max " ,
522587 iPhoneSE3 = " iPhone SE 3rd gen " ,
588+ iPhone16 = " iPhone 16 " ,
589+ iPhone16Plus = " iPhone 16 Plus " ,
590+ iPhone16Pro = " iPhone 16 Pro " ,
591+ iPhone16ProMax = " iPhone 16 Pro Max " ,
523592
524593 // Apple Watch
525594 AppleWatch1 = " Apple Watch 1gen " ,
@@ -531,6 +600,11 @@ public enum Model : String {
531600 AppleWatchSE = " Apple Watch Special Edition " ,
532601 AppleWatchS6 = " Apple Watch Series 6 " ,
533602 AppleWatchS7 = " Apple Watch Series 7 " ,
603+ AppleWatchS8 = " Apple Watch Series 8 " ,
604+ AppleWatchS9 = " Apple Watch Series 9 " ,
605+ AppleWatchS10 = " Apple Watch Series 10 " ,
606+ AppleWatch6_18 = " Apple Watch Ultra " ,
607+ AppleWatch7_5 = " Apple Watch Ultra 2 " ,
534608
535609 //Apple TV
536610 AppleTV1 = " Apple TV 1gen " ,
@@ -582,7 +656,7 @@ public enum Model : String {
582656 case " iPhone 12 Pro " , " iPhone 12 Pro Max " , " iPad Pro 4 12.9 " , " iPhone 13 Pro " , " iPhone 13 Pro Max " , " iPhone 15 " :
583657 deviceRamSize = " 6144 "
584658
585- case " iPad Pro 5 12.9 " , " iPhone 15 Plus " , " iPhone 15 Pro " , " iPhone 15 Pro Max " , " iPad Air 5 " :
659+ case " iPad Pro 5 12.9 " , " iPhone 15 Plus " , " iPhone 15 Pro " , " iPhone 15 Pro Max " , " iPad Air 5 " , " iPhone 16 " , " iPhone 16 Pro " , " iPhone 16 Pro Max " , " iPhone 16 Plus " , " iPad Air 11 " , " iPad Pro 11 2024 " , " iPad Pro 13 2024 " , " iPad Mini 2024 " :
586660 deviceRamSize = " 8192 "
587661
588662 default :
0 commit comments