📜  swift sf 符号 uiimage 大小 - Swift 代码示例

📅  最后修改于: 2022-03-11 15:01:00.894000             🧑  作者: Mango

代码示例1
let largeConfig = UIImage.SymbolConfiguration(pointSize: 140, weight: .bold, scale: .large)

 let largeBoldDoc = UIImage(systemName: "doc.circle.fill", withConfiguration: largeConfig)

 button.setImage(largeBoldDoc, for: .normal)