UIDevice
public extension UIDevice
-
Returns a current device version.
Declaration
Swift
static var currentDeviceSystemVersion: Version { get }
-
UUID string which uniquely identifies the current device.
Declaration
Swift
private(set) static var distinctID: String { get }
-
Declaration
Swift
extension UIDevice.BatteryState: CustomStringConvertible
-
Current device is a simulator
Declaration
Swift
static let isSimulator: Bool
-
Current device is a real device
Declaration
Swift
static let isReal: Bool