Answers for "javascript detect ios device"

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 detect ios device"

Code answers related to "Javascript"

Browse Popular Code Answers by Language