<?php
use Mobile_Detect;
$mb = new Mobile_Detect;
if($mb->isIpad()){
echo "is ipad";
}else{
echo "is not ipad";
}
There are other handy methods such is isMobile(), isChrome() etc:
http://mobiledetect.net/
<?php
use Mobile_Detect;
$mb = new Mobile_Detect;
if($mb->isIpad()){
echo "is ipad";
}else{
echo "is not ipad";
}
If you are a bloguru member, please login.
Login
If you are not a bloguru member, you may request a free account here:
Request Account