You can't get any difference by using media queries or user-agents:
- Media queries are the same
- User Agent contains only
iPad
word, not version. Other info in UA is aboutiOS
orSafari
browser.iPad3
has iOS6 be default, but in can be updated for new versions.Safari
depends fromiOS
version, so system and browser information is imprecise.
So there is only javascript
+iOS
feature detecting like was with iPad
and iPad2
difference in event.acceleration
, but there is no different in features of iPad3
and iPad4
.
So you can't detect iPad3
only. May be you post here the problem with iPad3
and we can help you to solve it?
BUT:
If you use WebView
component, you can do it in it. You can detect in by systemInfo.machine
string in Objective-C:
NSString *machineName = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];
machineName
for iPad3 are iPad3,1
, iPad3,2
and iPad3,3
. iPad4
are iPad3,4
, iPad3,5
and iPad3,6
(don't ask why:)
And in WebView
you can change your css file to iPad3.css
by using WebResourceLoadDelegate
for example.