关于UIButton使用setAttributedTitle:forState:之后无法改变标题颜色


关于UIButton使用setAttributedTitle:forState:之后不能更改标题颜色。关于UIButton使用setAttributedTitle:forState:之后不能更改标题颜色。简介:我想实现点击按钮后改变标题颜色的功能。按钮的标题需要上下显示且字体大小不同,所以定制了按钮并使用NSMutableAttributedString来实现该功能。
转载请注明原文地址:https://juke.outofmemory.cn/read/1907590.html

最新回复(0)