Answers for "javascript check if device is iphone"

2

javascript detect ios device

function isIOSDevice(){
   return !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform);
}
if(isIOSDevice()){
    console.log("I am an IOS device!");
}
Posted by: Guest on August-05-2019

Code answers related to "javascript check if device is iphone"

Code answers related to "Javascript"

Browse Popular Code Answers by Language