DeviceType

public enum DeviceType: String, EnumProtocol

Enum representing the different types of iOS devices available

  • Undocumented

    Declaration

    Swift

    case iPhone2G
  • Undocumented

    Declaration

    Swift

    case iPhone3G
  • Undocumented

    Declaration

    Swift

    case iPhone3GS
  • Undocumented

    Declaration

    Swift

    case iPhone4
  • Undocumented

    Declaration

    Swift

    case iPhone4S
  • Undocumented

    Declaration

    Swift

    case iPhone5
  • Undocumented

    Declaration

    Swift

    case iPhone5C
  • Undocumented

    Declaration

    Swift

    case iPhone5S
  • Undocumented

    Declaration

    Swift

    case iPhone6Plus
  • Undocumented

    Declaration

    Swift

    case iPhone6
  • Undocumented

    Declaration

    Swift

    case iPhone6S
  • Undocumented

    Declaration

    Swift

    case iPhone6SPlus
  • Undocumented

    Declaration

    Swift

    case iPhone7
  • Undocumented

    Declaration

    Swift

    case iPhone7Plus
  • Undocumented

    Declaration

    Swift

    case iPhoneSE
  • Undocumented

    Declaration

    Swift

    case iPodTouch1G
  • Undocumented

    Declaration

    Swift

    case iPodTouch2G
  • Undocumented

    Declaration

    Swift

    case iPodTouch3G
  • Undocumented

    Declaration

    Swift

    case iPodTouch4G
  • Undocumented

    Declaration

    Swift

    case iPodTouch5G
  • Undocumented

    Declaration

    Swift

    case iPad
  • Undocumented

    Declaration

    Swift

    case iPad2
  • Undocumented

    Declaration

    Swift

    case iPad3
  • Undocumented

    Declaration

    Swift

    case iPad4
  • Undocumented

    Declaration

    Swift

    case iPadMini
  • Undocumented

    Declaration

    Swift

    case iPadMini3
  • Undocumented

    Declaration

    Swift

    case iPadMini4
  • Undocumented

    Declaration

    Swift

    case iPadAir
  • Undocumented

    Declaration

    Swift

    case iPadAir2
  • Undocumented

    Declaration

    Swift

    case iPadPro9Inch
  • Undocumented

    Declaration

    Swift

    case iPadPro12Inch
  • Undocumented

    Declaration

    Swift

    case simulator
  • Undocumented

    Declaration

    Swift

    case notAvailable
  • Returns the current device type

    Declaration

    Swift

    public static var current: DeviceType
  • Returns the display name of the device type

    Declaration

    Swift

    public var displayName: String