No special suffix for iPhone 5 (4'' display), just the specific [email protected] file.
Here's a macro to handle it:
// iPhone 5 support
#define ASSET_BY_SCREEN_HEIGHT(regular, longScreen) (([[UIScreen mainScreen] bounds].size.height <= 480.0) ? regular : longScreen)
Usage: (assets names - image.png, [email protected], [email protected])
myImage = [UIImage imageNamed:ASSET_BY_SCREEN_HEIGHT(@"image",@"image-568h")];
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…