DeviceGuru is a simple lib (Swift) to know the exact type of the device, e.g. iPhone 6 or iPhone 6s. For Objective-C please visit UIDeviceUtil
- Easy to use
- Light weight
Go to http://cocoapods.org
Search for DeviceGuru lib
Copy the pod dependency and add that to your pod file. e.g.
pod 'DeviceGuru', '~> x.y'import DeviceGuru
hardwareString()Just drag and drop the DeviceGuru.swift file and use below code
DeviceGuru.hardwareString()Want to contribute? Great!
Send the pull request :)
MIT