UIDeviceModelName 1.1.2

UIDeviceModelName 1.1.2

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Oct 2024
SwiftSwift Version 3.0
SPMSupports SPM

Maintained by Katsuya Kato.



  • By
  • CrossBridge(Katsuya Kato)

Installation

pod 'UIDeviceModelName'

Requirements

Swift3

Usage

import UIDeviceModelName

print(UIDevice.current.modelName) // ex) iPhone 7 , iPhone 6 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
  • 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

License

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