     case screen7Dot9Inches      = "7,9 inches"
     case screen9Dot7Inches      = "9,7 inches"
     case screen10Dot5Inches     = "10,5 inches"
+    case screen11Inches         = "11 inches"
     case screen12Dot9Inches     = "12,9 inches"
 }
 

        self.identifier = identifier
        
        switch identifier {
        
        case "iPod1,1":
            self.type = .iPodTouch1
            self.size = .screen4Inches
            self.connectivity = .wiFi
            break
            
        case "iPod2,1":
            self.type = .iPodTouch2
            self.size = .screen4Inches
            self.connectivity = .wiFi
            break
            
        case "iPod3,1":
            self.type = .iPodTouch3
            self.size = .screen4Inches
            self.connectivity = .wiFi
            break
            
        case "iPod4,1":
            self.type = .iPodTouch4
            self.size = .screen4Inches
            self.connectivity = .wiFi
            break
            
        case "iPod5,1":
            self.type = .iPodTouch5
            self.size = .screen4Inches
            self.connectivity = .wiFi
            break
            
        case "iPod7,1":
            self.type = .iPodTouch6
            self.size = .screen4Inches
            self.connectivity = .wiFi
            break
            
        case "iPhone3,1", "iPhone3,2", "iPhone3,3":
            self.type = .iPhone4
            self.size = .screen4Inches
            self.connectivity = .wiFi3G
            break
            
        case "iPhone4,1":
            self.type = .iPhone4s
            self.size = .screen4Inches
            self.connectivity = .wiFi3G
            break
            
        case "iPhone5,1", "iPhone5,2":
            self.type = .iPhone5
            self.size = .screen4Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone5,3", "iPhone5,4":
            self.type = .iPhone5c
            self.size = .screen4Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone6,1", "iPhone6,2":
            self.type = .iPhone5s
            self.size = .screen4Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone7,1":
            self.type = .iPhone6Plus
            self.size = .screen5Dot5Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone7,2":
            self.type = .iPhone6
            self.size = .screen4Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone8,1":
            self.type = .iPhone6s
            self.size = .screen4Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone8,2":
            self.type = .iPhone6sPlus
            self.size = .screen5Dot5Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone8,4":
            self.type = .iPhoneSE
            self.size = .screen4Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone9,1", "iPhone9,3":
            self.type = .iPhone7
            self.size = .screen4Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone9,2", "iPhone9,4":
            self.type = .iPhone7Plus
            self.size = .screen5Dot5Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone10,1", "iPhone10,4":
            self.type = .iPhone8
            self.size = .screen4Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone10,2", "iPhone10,5":
            self.type = .iPhone8Plus
            self.size = .screen5Dot5Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone10,3", "iPhone10,6":
            self.type = .iPhoneX
            self.size = .screen5Dot8Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone11,2":
            self.type = .iPhoneXs
            self.size = .screen5Dot8Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone11,4", "iPhone11,6":
            self.type = .iPhoneXsMax
            self.size = .screen5Dot5Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPhone11,8":
            self.type = .iPhoneXr
            self.size = .screen6Dot1Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad2,1":
            self.type = .iPad2
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad2,2", "iPad2,3", "iPad2,4":
            self.type = .iPad2
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi3G
            break
            
        case "iPad3,1":
            self.type = .iPad3
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad3,2", "iPad3,3":
            self.type = .iPad3
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad3,4":
            self.type = .iPad4
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad3,5", "iPad3,6":
            self.type = .iPad4
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad4,1":
            self.type = .iPadAir
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad4,2", "iPad4,3":
            self.type = .iPadAir
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad5,3":
            self.type = .iPadAir2
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad5,4":
            self.type = .iPadAir2
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad6,11":
            self.type = .iPad5
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad6,12":
            self.type = .iPad5
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad7,5":
            self.type = .iPad6
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad7,6":
            self.type = .iPad6
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad2,5":
            self.type = .iPadMini
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi
            break
            
        case "iPad2,6", "iPad2,7":
            self.type = .iPadMini
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi3G
            break
            
        case "iPad4,4":
            self.type = .iPadMini2
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi
            break
            
        case "iPad4,5", "iPad4,6":
            self.type = .iPadMini2
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad4,7":
            self.type = .iPadMini3
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi
            break
            
        case "iPad4,8", "iPad4,9":
            self.type = .iPadMini3
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad5,1":
            self.type = .iPadMini4
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi
            break
            
        case "iPad5,2":
            self.type = .iPadMini4
            self.size = .screen7Dot9Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad6,7":
            self.type = .iPadPro
            self.size = .screen12Dot9Inches
            self.connectivity = .wiFi
            break
            
        case "iPad6,8":
            self.type = .iPadPro
            self.size = .screen12Dot9Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad6,3":
            self.type = .iPadPro
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi
            break
            
        case "iPad6,4":
            self.type = .iPadPro
            self.size = .screen9Dot7Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad7,1":
            self.type = .iPadPro2
            self.size = .screen12Dot9Inches
            self.connectivity = .wiFi
            break
            
        case "iPad7,2":
            self.type = .iPadPro2
            self.size = .screen12Dot9Inches
            self.connectivity = .wiFi4G
            break
            
        case "iPad7,3":
            self.type = .iPadPro
            self.size = .screen10Dot5Inches
            self.connectivity = .wiFi
            break
            
        case "iPad7,4":
            self.type = .iPadPro
            self.size = .screen10Dot5Inches
            self.connectivity = .wiFi4G
            break
            
        case "i386", "x86_64":
            self.type = .simulator
            self.size = .screenUnknown
            self.connectivity = .wiFi
            break
            
        default:
            self.type = .unknown
            self.size = .screenUnknown
            self.connectivity = .unknown
            break
        }
        
        self.model = self.type.rawValue

    case iPadMini3          = "iPad Mini 3"
    case iPadMini4          = "iPad Mini 4"
    case iPadPro            = "iPad Pro"
    case iPadPro2           = "iPad Pro (2nd generation)"
    case iPadPro3           = "iPad Pro (3rd generation)"
    case simulator          = "Simulator"
}

