We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd37bfb commit 3539d70Copy full SHA for 3539d70
1 file changed
Source/UIDeviceModel.swift
@@ -58,6 +58,7 @@ public enum UIDeviceModel {
58
case iPodTouch4
59
case iPodTouch5
60
case iPodTouch6
61
+ case iPodTouch7
62
63
indirect case simulator(UIDeviceModel)
64
@@ -147,6 +148,7 @@ extension UIDeviceModel {
147
148
case "iPod4,1": return .iPodTouch4
149
case "iPod5,1": return .iPodTouch5
150
case "iPod7,1": return .iPodTouch6
151
+ case "iPod9,1": return .iPodTouch7
152
153
case "i386", "x86_64": return .simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "iOS"))
154
default: return .unknown(identifier)
0 commit comments