【发布时间】:2011-11-30 15:31:14
【问题描述】:
我在这个线程上读到: Simplest way to detect a mobile device 关于如何知道浏览器是否是移动设备。一般代码是这样的:
<?php include("Mobile_Detect.php"); include("demoData.php");
$detectIsMobile = new Mobile_Detect(); ?>
问题是我想处理平板电脑(iPad 和 xoom)。
我在那里看到有一个我已经测试过的 isIpad() 函数 - 但这仍然不能解决平板电脑和手机之间的区别。
有什么想法吗?
谢谢, 阿隆
【问题讨论】:
标签: php html mobile tablet responsive-design