如何在Swift中使用SF符號(hào)
要在Swift中使用SF Symbol蒸播,可以使用新的UIImage(systemName :)初始化程序:
let image = UIImage(systemName: "square.and.pencil")
下面是SF Symbols的官方下載資源
https://developer.apple.com/sf-symbols/
image.png
let image = UIImage(systemName: "square.and.pencil")
https://developer.apple.com/sf-symbols/