在 UIKit 中创建具有alpha值的颜色时,有不同的方法,例如: UIColor(red: 0, green: 0, blue: 0, alpha: 0.8) 但是此方法不适用于 Color 的相应类 SwiftUI 。
確定! 回上一頁