Name to resize iphone 6 image

This way I was always able to use the same image name in a line of code like backgroundimage.png when using a background image in the toolbar, and when deployed on iphone 5 it automatically uses backgroundimage @ 2x.png. Now that the iphone 6 needs a resized @ 2x.png image, how can I distinguish this in my code? what I mean is that now I cannot use the same image name for my modified image 6 in my code as my original image.png because both 5 and 6 will have the same name.

I have to write an if statement checking if the app is running on 6 and then deploy my code with the specific image name iphone 6 @ 2x.png?

+3
ios iphone image xcode iphone-6


source to share


No one has answered this question yet

See similar questions:

2
Xcode 6.1 using the same 2x image for iPhone 6 and 4s simulator

or similar:

1832
Lazy loading images in ListView
1338
How to vertically align an image inside a div
1264
How can I automatically resize the image to fit the container div?
1141
How can I develop for iPhone using Windows development machine?
958
How do I change the name of an iOS app?
868
Xcode error "Could not find developer disk image"
92
How to handle zoom in all available iPhone resolutions?
4
fullscreen image sizes and naming in xcode
0
set background images for Iphone 3g, Iphone 4s and Iphone 5
0
Editable IOS Images - @ 2x



All Articles
Loading...
X
Show
Funny
Dev
Pics