Answers for "android ios recognition 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 "android ios recognition javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language