I\'ve got a simple custom UIButton, to which I added:
button.layer.bordercolor = [[UIColor blueColor]CGColor];
However, I want to change the .b
Swift 4 :
override var isHighlighted: Bool { didSet { layer.borderColor = isHighlighted ? UIColor.lightGray.cgColor : UIColor.black.cgColor } }