iOS not using -568h@2x.png
cocoa-touch, ios, iphone, objective-c
Solution
The `-568@2x` suffix only applies to the Default.png launch images. There is no special suffix used by `UIImage imageNamed:` (or the other `UIImage` methods). If you need a special image on the 4" screen, you need to add code to get the desired image yourself.
Problem
I have 3 images: ``` test.png test@2x.png test-568@2x.png ``` In IBOutlet, a UIImageView is set to display test.png. On iPhone 3.5in without retina, it's displaying test.png On iPhone 3.5in with retina, it's displaying test@2x.png But on iPhone 4in with retina, it's displaying test@2x.png!!! What's going on? Thanks!