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