In previous versin of XCode and IB, when I would specify a background image for a button, the image lists would just include the filenames without the file extensions or @2x suffixes and the iOS was smart enough to know which file to use depending on whether or not the device had a retina display. Now in XCode 4, when I go to select an image for a button, it lists all the images in my project, including their file extensions and @2x suffixes. Which one do I use? If I choose the image without the @2x suffix, will iOS know to use the @2x version on devices with retina displays?
Thanks so much for your wisdom!
Choose the ones that don't have @2x. That seems to work great for me. Like you I have no idea why apple decided to start including all file names in the results list. It seems quite counter intuitive.
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