
iDevice.js is a small JavaScript library to determine the current iOS device type/model by checking the user’s GPU.
Support any iPhone, iPad, and iPod models.
Check out the demo on your iOS device:

How to use it:
Download and import the iDevice.js library into the document.
<script src="idevice.js"></script>
Get the current iOS device type/model.
if (iDevice) {
alert('The iOS device is an ' + iDevice);
}






