Detecting Retina display with Titanium Appcelerator
Spent a while looking around for this – turned out to be easier than I imagined!
var retina = false;
if (Titanium.Platform.model=='iPhone 4'){
retina = true;
}
The personal blog of a web & mobile developing maestro, based in Manchester, UK. I love clever stuff, faraway places and things that go fast.
Spent a while looking around for this – turned out to be easier than I imagined!
var retina = false;
if (Titanium.Platform.model=='iPhone 4'){
retina = true;
}