UIButton文字 标题 闪烁

            self.checkCodeBtn.titleLabel.text = [NSString stringWithFormat:@"%zi秒", _time];
            [self.checkCodeBtn setTitle:[NSString stringWithFormat:@"%zi秒", _time] forState:UIControlStateNormal];

在setTitle之前添加 titleLabel.text 则可以解决

你可能感兴趣的:(UIButton文字 标题 闪烁)