diff --git a/UIDeviceModelNames/Classes/UIDeviceModelNames.swift b/UIDeviceModelNames/Classes/UIDeviceModelNames.swift index cdc6596..b1f9989 100644 --- a/UIDeviceModelNames/Classes/UIDeviceModelNames.swift +++ b/UIDeviceModelNames/Classes/UIDeviceModelNames.swift @@ -25,8 +25,13 @@ public class UIDeviceModelNames { func mapToDevice(identifier: String) -> String { // swiftlint:disable:this cyclomatic_complexity #if os(iOS) switch identifier { - case "iPod5,1": return "iPod Touch 5" - case "iPod7,1": return "iPod Touch 6" + case "iPod1,1": return "iPod Touch" + case "iPod2,1": return "iPod Touch (2nd generation)" + case "iPod3,1": return "iPod Touch (3rd generation)" + case "iPod4,1": return "iPod Touch (4th generation)" + case "iPod5,1": return "iPod Touch (5th generation)" + case "iPod7,1": return "iPod Touch (6th generation)" + case "iPod9,1": return "iPod Touch (7th generation)" case "iPhone1,1": return "iPhone" case "iPhone1,2": return "iPhone 3G"