How to use vector images in Xcode 6.4

I created an image in Adobe Illustrator CS6. I export / save the image in PDF format. In Xcode, I create a set of images and set the scale factor to Single Vector .

However, when I use the image in my application, it still looks pixilated.

I used vector images in earlier versions of Xcode (6.1 and 6.2) and it worked great. Why doesn't it work in 6.4?

+6
source share
2 answers

Try the article . It describes how to save a vector image correctly and how to use it in Xcode.

IMPORTANT TO KNOW: Xcode cuts your vector image to the correct size. For instance. if you place a 50x50 vector image, it will create 50x50 (x1), 100x100 (x2), 150x150 (x3) images. Therefore, you must save the original vector image for x1 measurement.

+6
source

If you are testing on a simulator, try to test on a real device. If you look at the images in all other applications that are in the simulator, you will notice that they are also pixelated.

0
source

All Articles