Swift UIButton with questionmark

Is it possible to add this button type of button to my project:
Image

I remember I’ve heard about bezel, but not sure if that is it?

>Solution :

Just create a UIButton, and set it’s cornerRadius:

button.layer.cornerRadius = 0.5 * button.bounds.size.width
button.clipsToBounds = true
button.backgroundColor = UIColor.gray

Leave a Reply