PDA

View Full Version : src.sencha.io and retina



Miskah
4 Dec 2012, 12:18 PM
Hi all,
Just an easy question, when i call my image like this (on iphone 4S) :

http://src.sencha.io/sw/http://www.mydomain.com/myimage.jpg
src.sencha.io resize my picture to width 320px. Io sencha src do not detect retina screen ?

Regards

tbaur
23 Jan 2013, 10:29 PM
apologize for the delayed response, but I'll check into this for you.

tbaur
24 Jan 2013, 5:15 PM
I took a look into this and refreshed my memory on the topic.

unfortunately, Apple does not provide a method to determine the incoming iOS device other then the generic definition, ex. "iPhone", "iPad" etc.

the browsers user agent does not provide information on a device specifically being an iPhone 5, just the operating system version. an iPhone 4 that has upgraded to current iOS, will look the same as an iPhone 5 et al. at this time, there doesn't seem to be much we can do here in order to be more accurate. if/when that changes, we'll certainly reflect that.