Retina display support for rumtime downloaded images
For iPhone4 retina display support i know that for images that are bundled with app we can use a extra set of larger images and have naming conventions as "@2X". But in my application i am showing a product list for which i am downloading images at run time from server and showing it. Now how do i support retina display support for these images.
May be i can explain it better with an example.
Images at server size 60X60
UIImageView size in app 60X60.
This works perfect on iPhone3 but when run in iPhone4 images get blurry.
So now should i create one more set of 120X120 images and use them for iPhone4? Or I keep 120X120 images both for iPhone3 and iPhone4? In the later case would iOS automatically downsize these images to fit perfectly?
I have set my UIImageView contentMode property to UIViewContentModeScaleAspectFit.
Thanks,
Tarun Sharma.
|