UIDevice

internal extension UIDevice
  • The device’s model name in a readable form.

    Declaration

    Swift

    static let modelName: String
  • The device’s operating system name in a common form.

    For example, “Mac OS X” becomes “macOS”.

    Declaration

    Swift

    static let commonSystemName: String