写个类继承于UISlider, 重写方法 :
-(CGRect)trackRectForBounds:(CGRect)bounds{
if (_sliderHight == 0.00) {
_sliderHight = 4;
}
return CGRectMake(0, 0, self.frame.size.width, _sliderHight);
}
写个类继承于UISlider, 重写方法 :
-(CGRect)trackRectForBounds:(CGRect)bounds{
if (_sliderHight == 0.00) {
_sliderHight = 4;
}
return CGRectMake(0, 0, self.frame.size.width, _sliderHight);
}