在SwiftUI中,我们可以使用以下方法从资产目录中的颜色集中获取颜色: extension Color { static let coral = Color("coral") } 这需要字符串类型的名称,并且在使用 ...
確定! 回上一頁