开发者

Button background setting

开发者 https://www.devze.com 2022-12-13 07:22 出处:网络
This question is almost embarrassing to ask, but I can\'t find the answer in any documentation. I have a UIButton in a view.In IB, I set the button\'s background to a colour.The original rectangle in

This question is almost embarrassing to ask, but I can't find the answer in any documentation.

I have a UIButton in a view. In IB, I set the button's background to a colour. The original rectangle in the Identity Inspector shows a half-black, half-white rectangle for the button's background.

I can't find anyway to set the backgro开发者_如何转开发und back to the original setting. Anybody know how to do this?

Thanks in advance for any help.

John Doner


Half black, half white means it has an alpha value.

Click on the color, and in the bottom part of the color picker, you can set the alpha. Set it back to 0% to have the original value back.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号