IOS 按钮字体颜色设置


UIColor RGB颜色对照表


http://blog.csdn.net/sqc3375177/article/details/9198765

UIButton *customButton = [UIButton buttonWithType:UIButtonTypeCustom];

[customButton setTitleColor:_btnFontColor forState:UIControlStateNormal];
// customButton.titleLabel.textColor = _btnFontColor;

你可能感兴趣的:(IOS学习)