记录一次button闪烁问题

中间的是一个Button 遇到问题title设置 会闪烁

记录一次button闪烁问题_第1张图片

/* 解决方法如下 

记录一次button 闪烁的问题 留作念想

*/

self.orderNum.titleLabel.text = [NSString stringWithFormat:@"%ld",self.orderIndex];

[self.orderNum setTitle:[NSString stringWithFormat:@"%ld",self.orderIndex] forState:UIControlStateNormal];

你可能感兴趣的:(记录一次button闪烁问题)