阅读背景:

在UIButton的backgroundImage顶部添加渐变图层

来源:互联网 

I've got a project with some buttons that are in a UIStackView. Each of the buttons has a backgroundImage. Everything renders as desired, but I'd like to put a gradient layer in front of the backgroundImage that's semi-transparent so the text on the button has a little more contrast.I've got a project with some buttons that are i




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: