From 726b7ee639a267679b901a29bc656598edaf1827 Mon Sep 17 00:00:00 2001 From: Goldilocks97 Date: Fri, 8 Nov 2024 12:09:27 +0300 Subject: [PATCH] iphone 16 series --- Device/UIDeviceExtension.swift | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Device/UIDeviceExtension.swift b/Device/UIDeviceExtension.swift index 01750d3..3bca722 100644 --- a/Device/UIDeviceExtension.swift +++ b/Device/UIDeviceExtension.swift @@ -64,11 +64,17 @@ public enum DeviceType: String, CaseIterable { case iPhone14Plus case iPhone14Pro case iPhone14ProMax + case iPhone15 case iPhone15Plus case iPhone15Pro case iPhone15ProMax + case iPhone16 + case iPhone16Plus + case iPhone16Pro + case iPhone16ProMax + case iPodTouch1G case iPodTouch2G case iPodTouch3G @@ -175,6 +181,10 @@ public extension DeviceType { case .iPhone15Plus: return "iPhone 15 Plus" case .iPhone15Pro: return "iPhone 15 Pro" case .iPhone15ProMax: return "iPhone 15 Pro Max" + case .iPhone16: return "iPhone 16" + case .iPhone16Plus: return "iPhone 16 Plus" + case .iPhone16Pro: return "iPhone 16 Pro" + case .iPhone16ProMax: return "iPhone 16 Pro Max" case .iPodTouch1G: return "iPod Touch" case .iPodTouch2G: return "iPod Touch (2nd generation)" @@ -262,6 +272,10 @@ public extension DeviceType { case .iPhone15Plus: return ["iPhone15,5"] case .iPhone15Pro: return ["iPhone16,1"] case .iPhone15ProMax: return ["iPhone16,2"] + case .iPhone16: return ["iPhone17,3"] + case .iPhone16Plus: return ["iPhone17,4"] + case .iPhone16Pro: return ["iPhone17,1"] + case .iPhone16ProMax: return ["iPhone17,2"] case .iPodTouch1G: return ["iPod1,1"] case .iPodTouch2G: return ["iPod2,1"]