[ 
https://issues.apache.org/jira/browse/CB-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13825834#comment-13825834
 ] 

Shazron Abdullah commented on CB-5420:
--------------------------------------

I just tested on the iOS 6.1 Simulator on Xcode 5.0.2 with these device configs:
1. iPhone
2. iPhone (Retina 3.5")
3. iPhone (Retina 4")

They all report iPhone. In any case this does not seem to be a Cordova issue, 
and we are supporting Xcode 5 going forward. Try again with 5.

> userAgent incorrect in iOS simulator
> ------------------------------------
>
>                 Key: CB-5420
>                 URL: https://issues.apache.org/jira/browse/CB-5420
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.9.0
>         Environment: iOS 6.1 simulator from xCode 4.6.3, running as an iPhone 
>            Reporter: Jacob Weber
>            Priority: Minor
>
> If I launch a Cordova/PhoneGap app on the iOS 6.1 simulator, running in 
> iPhone mode, and inspect it with Safari on the Mac, the value of 
> navigator.userAgent is:
> {{"Mozilla/5.0 (iPad; CPU OS 6_1 like Mac OS X) AppleWebKit/536.26 (KHTML, 
> like Gecko) Mobile/10B141 (187887888)"}}
> Note that it says "iPad", although it should be "iPhone".
> If I launch Safari in the same simulator, the userAgent string is:
> {{"Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/536.26 
> (KHTML, like Gecko) Version/6.0 Mobile/10B141 Safari/8536.25"}}



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to