Skip to content

Commit a7b9ea7

Browse files
committed
feat: add iPhone 17 support
1 parent 73787b2 commit a7b9ea7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Sources/DeviceIdentificator/Models/IPhoneModel+Name.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ public extension DeviceModel.IPhoneModel {
6060
case .iPhone16Pro: return "iPhone 16 Pro"
6161
case .iPhone16ProMax: return "iPhone 16 Pro Max"
6262
case .iPhone16e: return "iPhone 16e"
63+
case .iPhone17: return "iPhone 17"
64+
case .iPhone17Pro: return "iPhone 17 Pro"
65+
case .iPhone17ProMax: return "iPhone 17 Pro Max"
66+
case .iPhoneAir: return "iPhone Air"
6367
}
6468
}
6569
}

Sources/DeviceIdentificator/Models/IPhoneModel.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@ public extension DeviceModel {
5959
case iPhone16Pro = "iPhone17,1"
6060
case iPhone16ProMax = "iPhone17,2"
6161
case iPhone16e = "iPhone17,5"
62+
case iPhone17 = "iPhone18,3"
63+
case iPhone17Pro = "iPhone18,1"
64+
case iPhone17ProMax = "iPhone18,2"
65+
case iPhoneAir = "iPhone18,4"
6266
}
6367
}

0 commit comments

Comments
 (0)