Добавить тут -границу Свифт

button.layer.borderWidth = 1
button.layer.borderColor = UIColor.black.cgColor
Friendly Fish