add missing ipod touches
This commit is contained in:
parent
c8035e29aa
commit
a6f93525c4
@ -25,8 +25,13 @@ public class UIDeviceModelNames {
|
|||||||
func mapToDevice(identifier: String) -> String { // swiftlint:disable:this cyclomatic_complexity
|
func mapToDevice(identifier: String) -> String { // swiftlint:disable:this cyclomatic_complexity
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
switch identifier {
|
switch identifier {
|
||||||
case "iPod5,1": return "iPod Touch 5"
|
case "iPod1,1": return "iPod Touch"
|
||||||
case "iPod7,1": return "iPod Touch 6"
|
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,1": return "iPhone"
|
||||||
case "iPhone1,2": return "iPhone 3G"
|
case "iPhone1,2": return "iPhone 3G"
|
||||||
|
Loading…
Reference in New Issue
Block a user