lundi 29 juin 2015

Xcode using @1x for iphone 5

I am trying to work out all of these images and sizes.

I have a file called logo.png - and I have the three required ones logo@3x.png - logo@2x.png - logo.png

When I try and use this image, and run it on iPhone 5S I can see by printing the image size, that the image size is {334, 44}, which is the size of the logo.png

How do I fix this?

I have added all images to a asset, and the image name is just "logo" as the asset is called.

Aucun commentaire:

Enregistrer un commentaire