Check iOS Device Type/Model With Pure JavaScript – iDevice.js

Category: Javascript , Recommended | November 4, 2018
Author: dieulot
Views Total: 483
Official Page: Go to website
Last Update: November 4, 2018
License: MIT

Preview:

Check iOS Device Type/Model With Pure JavaScript – iDevice.js

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:

Check out the demo on your iOS device-min

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

You Might Be Interested In:


Leave a Reply