设置UIButton上字体的颜色,不是用:
[payWayButton.titleLabel setTextColor:[UIColor blackColor]];
而是用:
[payWayButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
[payWayButton.titleLabel setTextColor:[UIColor blackColor]];
而是用:
[payWayButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];