正确做法:[_captureButtonsetTitleColor:[UIColorcolorWithRGBString:buttonTitleColor]forState:UIControlStateNormal];
错误做法:_captureButton.titleLabel.textColor= [UIColorcolorWithRGBString:buttonTitleColor];
会出现奇葩问题。
正确做法:[_captureButtonsetTitleColor:[UIColorcolorWithRGBString:buttonTitleColor]forState:UIControlStateNormal];
错误做法:_captureButton.titleLabel.textColor= [UIColorcolorWithRGBString:buttonTitleColor];
会出现奇葩问题。
本文标题:UIButton 字体颜色设置
本文链接:https://www.haomeiwen.com/subject/liavpttx.html
网友评论