Created
July 23, 2013 17:13
-
-
Save adesignl/6064193 to your computer and use it in GitHub Desktop.
sniff for ios device using javascript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var iOS = ( navigator.userAgent.match(/(iPad|iPhone|iPod)/g) ? true : false ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment