DeviceKit icon indicating copy to clipboard operation
DeviceKit copied to clipboard

iPad Air 2 detected instead of iPad Mini 4 for device code "iPad5,1"

Open ruipfcosta opened this issue 11 years ago • 1 comments

I noticed the device code "iPad5,1" is being incorrectly used to identify iPad Air 2 when it should actually be detecting iPad Mini 4 (according to https://www.theiphonewiki.com/wiki/Models). The issue seems to be on this section of the code:

case "iPad5,1", "iPad5,3", "iPad5,4":  self = iPadAir2
case "iPad5,1", "iPad5,2":             self = iPadMini4

ruipfcosta avatar Oct 15 '15 13:10 ruipfcosta

Good catch! Thanks! 🙏 I've merged it :)

dennisweissmann avatar Nov 01 '15 17:11 dennisweissmann