SwiftextensionMeasureFoundation
extension UIDevice
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classUIDevice
Members 7
- func
static hasHWAcceleratedFeatureDetection() -> Bool - func
static isDeviceQualified(family: UIDevice.DeviceFamily, minVersion: (major: Int, minor: Int)) -> Bool - func
static isIPad() -> Bool - func
static isIPhone() -> Bool - func
static shouldLockFramerate() -> Bool - var
static var identifier: String { get } - var
static var parsedDeviceIdentifier: (family: UIDevice.DeviceFamily, version: (major: Int, minor: Int))? { get }
Header
extension __C.UIDevice { enum DeviceFamily { case iPhone case iPad case iPod } static var identifier: Swift.String { get } static var parsedDeviceIdentifier: (family: __C.UIDevice.DeviceFamily, version: (major: Swift.Int, minor: Swift.Int))? { get } static let identifier: Swift.String static let parsedDeviceIdentifier: (family: __C.UIDevice.DeviceFamily, version: (major: Swift.Int, minor: Swift.Int))? static func isDeviceQualified(family: __C.UIDevice.DeviceFamily, minVersion: (major: Swift.Int, minor: Swift.Int)) -> Swift.Bool static func shouldLockFramerate() -> Swift.Bool static func hasHWAcceleratedFeatureDetection() -> Swift.Bool static func isIPad() -> Swift.Bool static func isIPhone() -> Swift.Bool }