0

如果我想使用 SF Symbols 库中没有的 SVG,我该怎么做?

我尝试将篮球的随机 SVG 拖放到我从互联网下载的图像资产文件夹中,但它不会在我的图像资产文件夹中读取。我正在尝试获取它,以便轻松自定义图像本身,更改颜色,重量等,就像您可以使用 SF 符号一样。

4

1 回答 1

0

You can create a custom SF Symbol or use this tool to convert SVG to Shape struct: https://quassummanus.github.io/SVG-to-SwiftUI/

于 2020-06-19T11:19:12.363 回答