How to import vector images into image assets in xcode 8

Mehdi Mirzaei picture Mehdi Mirzaei · Sep 23, 2016 · Viewed 7.1k times · Source

I read this tutorial for importing vector images into xcode: How to Use Vectors in Xcode 7

But it seams it is different in xcode 8.

I created an image set in XCAsset file, however, in xcode 8, there is not "Scale Factors" attribute in its Attribute Inspector.

Where is it? How can I import vector images into image assets in xcode 8?

Answer

flagman picture flagman · Oct 13, 2016

In Xcode 8 "Scale Factors" was renamed to "Scales".

XCode 8 Vectors