UIButton-system类型 动态改变title 显示文字
2018-03-21 本文已影响4人
liboxiang
_timerBtn.titleLabel.text = [NSString stringWithFormat:@"%ld秒",scondes];
[_timerBtn setTitle:[NSString stringWithFormat:@"%ld秒",scondes] forState:UIControlStateNormal];
两个方法的次序不能改变