javascript check if user is on iphone code example
Example: javascript detect ios device
function isIOSDevice(){
return !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
}
if(isIOSDevice()){
console.log("I am an IOS device!");
}