UIDevice
class UIDevice : NSObject
-
Current model name
Declaration
Swift
public var type: Model { get }
-
Compare major system version i'e, iOS 10 == iOS 10
Declaration
Swift
public func systemVersionEquals(to version: String) -> Bool