on-internet
← Community

Detect if device is iOS

Stack Overflow ·

I'm wondering if it's possible to detect whether a browser is running on iOS, similar to how you can feature detect with Modernizr (although this is obviously device detection rather than feature detection). Normally I would favour feature detection instead, but I need to find out whether a device is iOS because of the way they handle videos as per this question YouTube API not working with iPad / iPhone / non-Flash device

Comments

Sign in or sign up to comment and upvote.

No comments yet.