Possible Duplicate:
iPhone 5 - what naming convention the new images have to follow?
I just downloaded the new xcode and I added the new splash screen for the new screen size. So now I have 3 files :
Default.png, Default@2x.png, Default-568h@2x.png
Until now if I wanted to make an UIImage with it, I could just simply do that:
UIImage *img = [UIImage imageNamed: @"Default"];
and Default.png or Default@2x.png was automatically chosen depending on the kind of iphone the app was executed. But now with the new screen size, of course it still works for normal screen/retina screen but not with 4" screens. How can I do to detect when the app is run on an iphone 5 and then use the *-568h image ?