Latest 1.1.2
Homepage https://github.com/katsuyax/UIDeviceModelName
License MIT
Platforms ios 8.0
Authors

Installation

pod 'UIDeviceModelName'

Requirements

Swift3

Usage

import UIDeviceModelName

print(UIDevice.current.modelName) // ex) iPhone 8 , iPhone 8 Plus ...

Supported devices

  • iPhone 3GS
  • iPhone 4 / 4S
  • iPhone 5 / 5s / 5c
  • iPhone 6 / 6 Plus / 6s / 6 Plus
  • iPhone 7 / 7 Plus
  • iPhone SE
  • iPhone 8 / 8 Plus
  • iPhone X
  • iPad 1 / 2 / 3 / 4 / 5
  • iPad Air / Air2
  • iPad Pro 12.9 inch 1 / 2
  • iPad Pro 10.5 inch
  • iPad Pro 9.7 inch
  • iPad mini / mini 2 / mini 3 / mini 4
  • iPod touch / 2G / 3G / 4G / 5G / 6G
  • Apple TV 4
  • Apple TV 4K

License

UIDeviceModelName is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "UIDeviceModelName",
    "version": "1.1.2",
    "summary": "Extention of UIDevice to get the model name of the iOS devices.",
    "homepage": "https://github.com/katsuyax/UIDeviceModelName",
    "license": {
        "type": "MIT",
        "file": "LICENCE"
    },
    "authors": {
        "CrossBridge(Katsuya Kato)": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/katsuyax/UIDeviceModelName.git",
        "tag": "1.1.2"
    },
    "source_files": "Classes/*.swift",
    "requires_arc": false,
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This