Slider自定义滑动时,滑动点为透明时,互动到最右边后,仍然和右边边距有间隙的问题
- (CGRect)thumbRectForBounds:(CGRect)bounds trackRect:(CGRect)rect value:(float)value
{
rect.origin.x = rect.origin.x - 13 ;
rect.size.width = rect.size.width +26;
CGRect result = [super thumbRectForBounds:bounds trackRect:rect value:value];
lastBounds = result;
return CGRectInset (result, 13 , 13);
}