Closed appleshine closed 5 years ago
You gotta set a border width
As said above I did set the layer.borderWidth to 2
I fixed the problem by using IBDesignable instead. Thanks though :)
You gotta set a border width
It is not works.
I fixed the problem by changing backgroundView.layer (not view.layer):
view.backgroundView.layer.borderWidth = 3.0
view.backgroundView.layer.borderColor = UIColor.white.cgColor
Hello, not sure if this is a silly question but how can I set the border color for my custom message view?
I have tried layer.borderUIColor and layer.borderColor but both doesn't work. I did set my layer.borderWidth to 2.
I have also tried setting
But it all doesn't work :( Dont know what am I doing wrong