UIDevice
public extension UIDevice
-
Enum that represents an iOS platform
See moreDeclaration
Swift
@available(*, deprecated, renamed: "Device") enum PlatformName : String
-
Enum that represents an iOS platform
See moreDeclaration
Swift
enum Device : String
-
The current raw platform of the device/simulator
Declaration
Swift
@available(*, deprecated, renamed: "hardwareString") var platform: String { get }
-
The current raw platform of the device/simulator
Declaration
Swift
var hardwareString: String { get }
-
The current platform of the device/simulator
Declaration
Swift
@available(*, deprecated, renamed: "device") var platformName: Device { get }
-
The current platform of the device/simulator
Declaration
Swift
var device: Device { get }