Author: | dieulot |
---|---|
Views Total: | 1,292 views |
Official Page: | Go to website |
Last Update: | November 4, 2018 |
License: | MIT |
Preview:

Description:
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); }