Is it possible to detect an iPad 3 (aka The new iPad) using ruby/rails? If so, how would I go about doing it?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can detect the device but I do not think it is possible to detect device version. As far as I know, Apple provides a user agent string which appears as follows:
There is no machine version information in this string and I do not know any other way to detect user machine.
If you do not know how to get user agent string in Rails, check here.