Dakata Dakata - 1 year ago 82
iOS Question

Any ideas how to remove a background color of a button?

I am trying to remove the pink color of this button, but it seems that I can't. I have looked inside my code and I couldn't find a line where I set it to be pink. Any ideas how to remove it, it should be transparent.

enter image description here

Answer Source

Setting the background color to clear will make the button transparent.

btSeeWhatsThere.backgroundColor = UIColor.clear()
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download