当我移动拇指时,我有UISlider,我确实改变了thumbcolor:
slider.thumbTintColor = [UIColor colorWithRed:(0/255.0) green:(145/255.0) blue:(255/255.0) alpha:1];
我想知道当我按下按钮重置时我是如何将颜色更改为默认值的?
答案 0 :(得分:1)
- (IBAction)reset:(id)sender
{
[self.slider setThumbTintColor:nil];
}