UIImage imageNamed should include support for 4" display images

Originator:dave.verwer
Number:rdar://12293478 Date Originated:2012/09/13
Status:Open Resolved:
Product:iOS SDK Product Version:6.0
Classification:Enhancement Reproducible:Yes
 
Summary:

It would be nice for the UIImage loading methods to include support for a 4" image suffix like they do for ~ipad etc...

It should maybe support a naming convention like:

Image.png
Image@2x.png
Image~ipad.png
Image@2x~ipad.png
Image@2x~iphone568.png

Steps to Reproduce:

[UIImage imageNamed:@"Image"];

Expected Results:

Should load Image@2x~iphone568.png when running on an iPhone with a 4" display.

Actual Results:

Loads Image@2x.png.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!