判断手机系统是否为ios

function () {
        var UA = navigator.userAgent;
        if (UA.match(/iPad/) || UA.match(/iPhone/) || UA.match(/iPod/)) {
            return true;
        }else{
            return false;
        }
    }

 

posted @ 2019-02-19 11:10  陆家鑫  阅读(1371)  评论(0编辑  收藏  举报