 
 extension RGAppTools where Base: UIDevice {
 
-    public static var iPhoneType: DeviceType {
-        switch deviceIdentifier {
-        case "iPhone1,1":
-            print("iPhone")
-            return .iPhone_2G
-
-        case "iPhone1,2":
-            print("iPhone 3G")
-            return .iPhone_3G
-
-        case "iPhone2,1":
-            print("iPhone 3GS")
-            return .iPhone_3GS
-
-        case "iPhone3,1", "iPhone3,2", "iPhone3,3":
-            print("iPhone 4")
-            return .iPhone_4
-
-        case "iPhone4,1":
-            print("iPhone 4S")
-            return .iPhone_4S
-
-        case "iPhone5,1", "iPhone5,2":
-            print("iPhone 5")
-            return .iPhone_5
-
-        case "iPhone5,3", "iPhone5,4":
-            print("iPhone 5c")
-            return .iPhone_5c
-
-        case "iPhone6,1", "iPhone6,2":
-            print("iPhone 5s")
-            return .iPhone_5s
-
-        case "iPhone7,1":
-            print("iPhone 6 Plus")
-            return .iPhone_6_Plus
-
-        case "iPhone7,2":
-            print("iPhone 6")
-            return .iPhone_6
-
-        case "iPhone8,1":
-            print("iPhone 6s")
-            return .iPhone_6s
-
-        case "iPhone8,2":
-            print("iPhone 6s Plus")
-            return .iPhone_6s_Plus
-
-        case "iPhone8,4":
-            print("iPhone SE")
-            return .iPhone_SE
-
-        case "iPhone9,1", "iPhone9,3":
-            print("iPhone 7")
-            return .iPhone_7
-
-        case "iPhone9,2", "iPhone9,4":
-            print("iPhone 7 Plus")
-            return .iPhone_7_Plus
-
-        case "iPhone10,1", "iPhone10,4":
-            print("iPhone 8")
-            return .iPhone_8
-
-        case "iPhone10,2", "iPhone10,5":
-            print("iPhone 8 Pllus")
-            return .iPhone_8_Plus
-
-        case "iPhone10,3", "iPhone10,6":
-            print("iPhone X")
-            return .iPhone_X
-
-        case "iPhone11,2":
-            print("iPhone XS")
-            return .iPhone_XS
-
-        case "iPhone11,4", "iPhone11,6":
-            print("iPhone XS Max")
-            return .iPhone_XS_Max
-
-        case "iPhone11,8":
-            print("iPhone XR")
-            return .iPhone_XR
-
-        case "iPhone12,1":
-            print("iPhone 11")
-            return .iPhone_11
-
-        case "iPhone12,3":
-            print("iPhone 11 Pro")
-            return .iPhone_11_Pro
-
-        case "iPhone12,5":
-            print("iPhone 11 Pro Max")
-            return .iPhone_11_Pro_Max
-
-        default:
-            print("unknown")
-            return .unknown
-        }
-    }
-
-    public static var iPodType: DeviceType {
-        switch deviceIdentifier {
-        case "iPod1,1":
-            print("iPod Touch 1G")
-            return .iPod_Touch_1
-
-        case "iPod2,1":
-            print("iPod Touch 2G")
-            return .iPod_Touch_2
-
-        case "iPod3,1":
-            print("iPod Touch 3G")
-            return .iPod_Touch_3
-
-        case "iPod4,1":
-            print("iPod Touch 4G")
-            return .iPod_Touch_4
-
-        case "iPod5,1":
-            print("iPod Touch (5 Gen)")
-            return .iPod_Touch_5
-
-        default:
-            print("unknown")
-            return .unknown
-        }
-    }
-
-    public static var iPadType: DeviceType {
-        switch deviceIdentifier {
-        case "iPad2,1", "iPad2,2", "iPad2,3", "iPad2,4":
-            print("iPad 2")
-            return .iPad_2
-
-        case "iPad2,5", "iPad2,6", "iPad2,7":
-            print("iPad Mini")
-            return .iPad_Mini
-
-        case "iPad3,1", "iPad3,2", "iPad3,3":
-            print("iPad 3")
-            return .iPad_3
-
-        case "iPad3,4", "iPad3,5", "iPad3,6":
-            print("iPad 4")
-            return .iPad_4
-
-        case "iPad4,1", "iPad4,2", "iPad4,3":
-            print("iPad Air")
-            return .iPad_Air
-
-        case "iPad4,4", "iPad4,5", "iPad4,6":
-            print("iPad Mini 2")
-            return .iPad_Mini_2
-
-        case "iPad4,7", "iPad4,8", "iPad4,9":
-            print("iPad Mini 3")
-            return .iPad_Mini_3
-
-        case "iPad5,1", "iPad5,2":
-            print("iPad Mini 4")
-            return .iPad_Mini_4
-
-        case "iPad5,3", "iPad5,4":
-            print("iPad Air 2")
-            return .iPad_Air_2
-
-        case "iPad6,3", "iPad6,4":
-            print("iPad Pro 9.7")
-            return .iPad_Pro_97
-
-        case "iPad6,7", "iPad6,8":
-            print("iPad Pro 12.9")
-            return .iPad_Pro_129
-
-        default:
-            print("unknown")
-            return .unknown
-        }
-    }
-
     /// 获取设备类型
     public static var deviceType: DeviceType {
         if isPhoneOrPodUI {

        case "x86_64":
            print("Simulator 64 bit")
            return .simulator_64bit

        default:
            print("unknown")

        } else if isPad {
            return iPadType
        }

        switch deviceIdentifier {
        case "AppleTV5,3":
            print("Apple TV")
