0
嗨我正在使用一個簡單的視圖來繪製一個半透明的黃色,但不工作的路徑。Swift colorWithAlphaComponent()不起作用
let tYellow = UIColor.yellowColor().colorWithAlphaComponent(0.5)
嗨我正在使用一個簡單的視圖來繪製一個半透明的黃色,但不工作的路徑。Swift colorWithAlphaComponent()不起作用
let tYellow = UIColor.yellowColor().colorWithAlphaComponent(0.5)
您好視圖有其屬性稱爲
var opaque = true
你必須將其設置爲FALSE
看透明度,在UIView的