I've got 2 sets of images in my project, one set for old displays and one @2x set for retina displays. I'm working on the iPad xibs (it's a universal app) and the double sized images that are @2x would actually work just fine for the ipad. If the image.png is 300 pixels wide, the [email protected] is 600 pixels wide, so on the 768 wide iPad screen that would work just fine. When I put a UIImageView in my iPad xib, I try to set the Image Name to explicitly be [email protected], but I get the ?? image which means that Interface Builder doesn't know what it is.
When I launch the simulator it does actually show the @2x image, so it is technically working, but Interface Builder won't show it to me properly and that makes it difficult to create the layout.
Is there a way to get Interface Builder to show me the @2x image when I'm making an iPad xib?
The way it works is that Interface Builder automatically chooses the right one for your device. You cannot explicitly change that as it is against its existence.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With