DeviceInfoAccessor
public final class DeviceInfoAccessor
DeviceInfoAccessor is used to access info related to the device.
Version
1.6.0Date
16/08/2019-
The singleton instance in the system.
Declaration
Swift
public static let shared: DeviceInfoAccessor -
The system version of the device.
Declaration
Swift
public var systemVersion: String { get } -
The major system version.
Declaration
Swift
public var majorSystemVersion: Int { get } -
The type of the device.
Declaration
Swift
public var deviceType: DeviceType { get } -
The width of the device screen.
Declaration
Swift
public var screenWidth: CGFloat { get } -
The height of the device screen.
Declaration
Swift
public var screenHeight: CGFloat { get }
DeviceInfoAccessor Class Reference