如何在 xcode 8 中将矢量图像导入图像资产
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39663274/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to import vector images into image assets in xcode 8
提问by Mehdi Mirzaei
I read this tutorial for importing vector images into xcode: How to Use Vectors in Xcode 7
我阅读了将矢量图像导入 xcode 的教程: How to Use Vectors in Xcode 7
But it seams it is different in xcode 8.
但它在 xcode 8 中似乎有所不同。
I created an image set in XCAsset file, however, in xcode 8, there is not "Scale Factors" attribute in its Attribute Inspector.
我在 XCAsset 文件中创建了一个图像集,但是,在 xcode 8 中,其属性检查器中没有“比例因子”属性。
Where is it? How can I import vector images into image assets in xcode 8?
它在哪里?如何将矢量图像导入 xcode 8 中的图像资产?