I have a TabBarController application that gets all the images from the web, including the icons for the tabBarController. What I want is that images look good when the device has retina display.
This is what I am doing:
- Resizing down images depending on the screen scale.
- Setting the view content scale: imageView.contentsScale = [UIScreen mainScreen].scale;
It is working fine for standard images with UIImageView, however I can not figure out how to do this for UITabBarItems, since I have no access to either the frame or the contentScale.
Any ideas?
Thanks!