0

Is there a way to tell if a user with iphone is using a 5 or higher version of the phone? The pixel ratio is the same on the 4 / 5 so I can't use that.

I need to do this with JS because I have functions that I wan't to disable if lower than 5.

Philip
  • 6,827
  • 13
  • 75
  • 104
  • 1
    possible duplicate of [Detecting iPhone 5 and any iOS device below it](http://stackoverflow.com/questions/12505618/detecting-iphone-5-and-any-ios-device-below-it) – Cerbrus May 07 '14 at 06:49
  • 1
    Also, while not a proper answer, you might still want to look at **[the tutorial](http://www.jquerybyexample.net/2013/03/detect-iphone-version-using-jquery-javascript.html)** he copied it from. – Cerbrus May 07 '14 at 06:50
  • @Cerbrus Should I accept his answer as the correct one? – Philip May 07 '14 at 12:12
  • No. You shouldn't, that would encourage people to simply copy tutorials. – Cerbrus May 07 '14 at 13:16

0 Answers0