UIScreen

  • Undocumented

    See more

    Declaration

    Swift

    enum DeviceType
  • Check the device using

    Declaration

    Swift

    class func deviceType() -> DeviceType

    Return Value

    DeviceType.enum

  • Checks if device is iphone4

    Declaration

    Swift

    class func isIphone4() -> Bool
  • Checks if device is iphone4

    Declaration

    Swift

    class func isIphone5() -> Bool
  • Checks if device is iphone4

    Declaration

    Swift

    class func isIphone6() -> Bool
  • Checks if device is iphone4

    Declaration

    Swift

    class func isIphonePlus() -> Bool