UIDevice
Undocumented
-
Mechanica
Returns
true
if the interface is designed for iPhone or iPod.Declaration
Swift
public var hasPhoneInterface: Bool
-
Mechanica
Returns
true
if the interface is designed for iPad.Declaration
Swift
public var hasPadInterface: Bool
-
Mechanica
Returns
true
if the interface is designed for Apple TV.Declaration
Swift
public var hasTVInterface: Bool
-
Mechanica
Returns
true
if the interface is designed for Apple CarPlay.Declaration
Swift
public var hasCarPlayInterface: Bool