1.0.0 • Published 5 years ago
is-useragent-ios v1.0.0
is-useragent-ios
Install
npm i is-useragent-ios
Usage
import isUserAgentIOS from 'is-useragent-ios'
// get UA string from navigator or somewhere else
const ua = navigator.userAgent
// invoke the method
const isIOS = isUserAgentIOS(ua)
// outputs whether the browser is iOS
console.log(isIOS)
1.0.0
5 years ago