Screen size for iPhone 5.

Can you add this device?
kevinleong
Posts: 1
Joined: Tue Jan 22, 2013 11:37 am

Screen size for iPhone 5.

Postby kevinleong » Tue Jan 22, 2013 11:49 am

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?

sriram
Posts: 161
Joined: Wed Jan 04, 2012 10:01 am

Re: Screen size for iPhone 5.

Postby sriram » Tue Jan 22, 2013 12:22 pm

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!
Sriram Sridharan


Who is online

Users browsing this forum: No registered users and 13 guests