Device
open class Device
Undocumented
-
Undocumented
Declaration
Swift
public static func version() -> DeviceModel
-
Undocumented
Declaration
Swift
public static func size() -> Size
-
Undocumented
Declaration
Swift
public static func type() -> Type
-
Undocumented
Declaration
Swift
public static func isEqualToScreenSize(_ size: Size) -> Bool
-
Undocumented
Declaration
Swift
public static func isLargerThanScreenSize(_ size: Size) -> Bool
-
Undocumented
Declaration
Swift
public static func isSmallerThanScreenSize(_ size: Size) -> Bool
-
Undocumented
Declaration
Swift
public static func isRetina() -> Bool
-
Undocumented
Declaration
Swift
public static func isPad() -> Bool
-
Undocumented
Declaration
Swift
public static func isPhone() -> Bool
-
Undocumented
Declaration
Swift
public static func isPod() -> Bool
-
Undocumented
Declaration
Swift
public static func isSimulator() -> Bool