[ https://issues.apache.org/jira/browse/CB-5420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve reassigned CB-5420: --------------------------------- Assignee: Andrew Grieve > 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 > Assignee: Andrew Grieve > Priority: Minor > Fix For: 3.4.0 > > > 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.5#6160)