DeviceGuru is a simple lib (Swift) to know the exact type of the device instead of just iPhone or iPad. For Objective-C lib 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', '~> 1.2'
DeviceGuru.hardwareString()
Just drag and drop the DeviceGuru.swift
file and use below code
hardwareString()
Want to contribute? Great!
Send the pull request :)
MIT