Answers for "detect iphone device javascript"

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 "detect iphone device javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language