第一种
self.lineLabel?.backgroundColor =RGBA(r:242, g:242, b: 242, a: 1)
第二种
UIColor(r:255,g:255,b:255)
第一种
self.lineLabel?.backgroundColor =RGBA(r:242, g:242, b: 242, a: 1)
第二种
UIColor(r:255,g:255,b:255)
本文标题:Swift UIColor颜色设置RGBA
本文链接:https://www.haomeiwen.com/subject/vprorftx.html
网友评论