ios:
let ios = !!navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)
同理判断android:
let android = !!navigator.userAgent.match(/android/i)
ios:
let ios = !!navigator.userAgent.match(/(iPhone|iPod|iPad);?/i)
同理判断android:
let android = !!navigator.userAgent.match(/android/i)