UIDevice

public extension UIDevice
  • Returns the contents of iOSDeviceModelMapping.plist as [String: String] dictionary

    Declaration

    Swift

    static var deviceNamesList: [String : String] { get }
  • Model info the the current device

    Declaration

    Swift

    static var name: String { get }