Skip to content

DeviceUtil helps identifying the exact harware type of the device. e.g. iPhone 6 or iPhone 6s. For Swift please visit DeviceGuru(https://github.com/InderKumarRathore/DeviceGuru)

License

Notifications You must be signed in to change notification settings

Wallrust/DeviceUtil

 
 

Repository files navigation

DeviceUtil

DeviceUtil helps identifying the exact harware type of the device. e.g. iPhone 6 or iPhone 6s. For Swift please visit DeviceGuru

  • Easy to use
  • Light weight

Installation

Go to http://cocoapods.org
Search for DeviceUtil lib
Copy the pod dependency and add that to your pod file. e.g.

pod 'DeviceUtil', '~> x.y'

Usage

  if ([DeviceUtil hardware] == IPHONE_5C) {
    NSLog(@"Device is iPhone 5c");
  }

Development

Want to contribute? Great!

Send the pull request :)

License

MIT

About

DeviceUtil helps identifying the exact harware type of the device. e.g. iPhone 6 or iPhone 6s. For Swift please visit DeviceGuru(https://github.com/InderKumarRathore/DeviceGuru)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 94.7%
  • Ruby 5.3%