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