2015-12-10 56 views

回答

0
_button.layer.borderColor = [UIColor colorWithRed:33.0/255.0 green:206.0/255.0 blue:153.0/255.0 alpha:1.0].CGColor; 
1

容易

_button.layer.borderColor = [UIColor colorWithRed:0x21/255.0 green:0xce/255.0 blue:0x99/255.0 alpha:1.0].CGColor; 
1

使用SWIFT人們正確答案4是:

_button.layer.borderColor = UIColor(red: 33/255, green: 206/255, blue: 153/255, alpha: 1.0).cgColor 

內置UIColors預置或您自己的顏色:

_button.layer.borderColor = UIColor.blue.cgColor