Posted in:
Javascript
How to detect device type is IOS using jquery
Use below simple script to detect whether the device is iOS or not.
jQuery( document ).ready(function() {
if (navigator.userAgent.match(/(iPod|iPhone|iPad)/)) {
// IOS Device
} else {
// NO IOS Device.
}
});
June 14, 2018
Did you like this post?