add arm64
This commit is contained in:
parent
a4ab3345e4
commit
86cc20358e
@ -85,7 +85,7 @@ public class UIDeviceModelNames {
|
|||||||
case "iPad7,11", "iPad7,12": return "iPad (7th generation)"
|
case "iPad7,11", "iPad7,12": return "iPad (7th generation)"
|
||||||
case "iPad11,6", "iPad11,7": return "iPad (8th generation)"
|
case "iPad11,6", "iPad11,7": return "iPad (8th generation)"
|
||||||
case "iPad12,1", "iPad12,2": return "iPad (9th generation)"
|
case "iPad12,1", "iPad12,2": return "iPad (9th generation)"
|
||||||
case "iPad13,18", "iPad13,19": return "iPad (10th generation)"
|
case "iPad13,18", "iPad13,19": return "iPad (10th generation)"
|
||||||
|
|
||||||
case "iPad2,5", "iPad2,6", "iPad2,7": return "iPad mini"
|
case "iPad2,5", "iPad2,6", "iPad2,7": return "iPad mini"
|
||||||
case "iPad4,4", "iPad4,5", "iPad4,6": return "iPad mini 2"
|
case "iPad4,4", "iPad4,5", "iPad4,6": return "iPad mini 2"
|
||||||
@ -118,12 +118,12 @@ public class UIDeviceModelNames {
|
|||||||
case "AppleTV3,1", "AppleTV3,2": return "Apple TV (3rd generation)"
|
case "AppleTV3,1", "AppleTV3,2": return "Apple TV (3rd generation)"
|
||||||
case "AppleTV5,3": return "Apple TV (4th generation)"
|
case "AppleTV5,3": return "Apple TV (4th generation)"
|
||||||
case "AppleTV6,2": return "Apple TV 4K"
|
case "AppleTV6,2": return "Apple TV 4K"
|
||||||
case "AppleTV11,1": return "Apple TV 4K (2nd generation)"
|
case "AppleTV11,1": return "Apple TV 4K (2nd generation)"
|
||||||
case "AppleTV14,1": return "Apple TV 4K (3rd generation)"
|
case "AppleTV14,1": return "Apple TV 4K (3rd generation)"
|
||||||
|
|
||||||
case "AudioAccessory1,1": return "HomePod"
|
case "AudioAccessory1,1": return "HomePod"
|
||||||
|
|
||||||
case "i386", "x86_64": return "Simulator \(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "iOS"))"
|
case "i386", "x86_64", "arm64": return "Simulator \(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "iOS"))"
|
||||||
default: return identifier
|
default: return identifier
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user