手机网站通过JS判断是否为iPhone手机访问

// 判断是否为 iPhone手机系统 :
function isAppleMobile() {
return (navigator.platform.indexOf('iPad') != -1);
};

posted @ 2014-11-20 18:52  yanzhijun  阅读(437)  评论(0)    收藏  举报