I have a TabBarController that sets the image for the tab like so, in the -init
method:
self.tabBarItem.image = [UIImage imageNamed:@"tabImage.png"];
I have a [email protected] file in the resource. In the iPhone 4 simulator or the phone, the hi-res image isn't being picked up - the low res version is simply being scaled up.
Any ideas why this might be?
EDIT: Some more info:
If I try and explicitly use [email protected]
(or just tabImage@2x
) then the tab image I see is extremely large and blown up beyond the bounds of the tab, as if it's being scaled from 60px to 120px. So it looks like whatever name is supply is being treated as a scale=1.0 image.