your-is-ios
v0.2.0
Published
your-is-ios
Downloads
345
Readme
your-is-ios
npm i your-is-ios
isIOS([userAgent])
判断当前是否 iOS 浏览器环境
import isIOS from 'your-is-ios'
// 当前环境
isIOS()
// 手动传入
isIOS('Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36')