Creating circle on the every edge of rectangle

Viewed 66

I want to create on the edge of every side of the rectangle a small circle instead of only corner. I make a label that set :

 exampleLabel.layer.borderWidth = 2.0

exampleLabel.layer.borderColor = UIColor.black.cgColor

enter image descriptiond here

So to get something like this shape :

enter image description here

1 Answers
Related