Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

detect if the userAgent is iOS

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages