UIDevice
class UIDevice : NSObject
-
Returns a
Bool
whether the device is plugged in. Returns false if not an iOS device.Declaration
Swift
@objc public var isPluggedIn: Bool { get }
class UIDevice : NSObject
Returns a Bool
whether the device is plugged in. Returns false if not an iOS device.
Swift
@objc
public var isPluggedIn: Bool { get }