Page 1 of 1

Screen size for iPhone 5.

Posted: Tue Jan 22, 2013 11:49 am
by kevinleong
My new iPhone5 returns

id = apple_iphone_ver5
UserAgent = Mozilla/5.0 (iphone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML,
like Gecko) Version/6.0 Mobile/10A5355d Safari/8536.25

Device Heigh 480
Device Width 320

This is no correct? Is there a patch to get the large iPhone5 screen size?

Re: Screen size for iPhone 5.

Posted: Tue Jan 22, 2013 12:22 pm
by sriram
Hi Kevin,

Apple has adopted a practice of hiding device information from the User Agent[UA]. For example, in the UA from your post above, you see mention of the iOS version and device type[iPhone/iPad or iPod] but not the hardware version of the device[iPhone 4/4S/5 etc]. Since we cannot detemine the hardware version, we return values that will work for all devices that are on that particular version of the OS. This is the reason you see WURFL returning 320x480 instead of 640x1136.

Cheers!