Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
The [feature-detection] tag is described as being for the concept of feature detection in image processing. I'm disambiguating this to [browser-feature-detection].
Link
Sam Hanley
  • 4.8k
  • 7
  • 39
  • 65
Source Link
fbrandel
  • 1.6k
  • 3
  • 17
  • 18

iPad version detection in JavaScript

Is it possible to check for the iPad version (1 or 2) in a web application? As the user agent looks identical (see http://www.webtrends.com/Support/KnowledgeBase/SolutionDetail.aspx?Id=50140000000acbiAAA) a standard check by browser does not work here.

Can we check for features (like the gyroscope) in JavaScript which are only available in version 2?