Exporting the same image into three different sizes for your iPhone application is a really troublesome process, and this post aims to solve this problem by showing you how to use a single vector in Xcode 6.4.

#Step 1

Export the vector file into PDF format from Sketch.

step1


#Step 2

Go to your Assets.xcassets in Xcode and add new image set.

#Step 3

Select the image

step3


#Step 4

Go to inspector tab

step4


#Step 5

Change scale factors to Single Vector

step5


#Step 6

Drag and drop the exported PDF file into the Universal slot.

step6


Enjoy.