iOS横屏重载
作者:互联网
var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
if (!isAndroid) {
addEventListener('orientationchange', function () {
location.reload(false);
});
}
标签:function,Adr,reload,indexOf,isAndroid,iOS,var,横屏,重载 来源: https://blog.csdn.net/qq_25887937/article/details/97660862