搜索文档
getDevice(): DeviceInfo
DeviceInfo
获取移动设备信息,如是否是iOS,android等
设备信息对象
Example
const device = getDevice(); console.log(device); // => { // androidChrome: false, // ipad: false, // iphone: true, // android: false, // ios: true, // os: "ios", // osVersion: "9.1", // webView: null // }