title: Hide UISlider track when behind transparent thumb image
body: <p>I'm currently creating a custom UISlider in Xcode. I am setting the thumb Image, min Image, and max Image for the slider. Everything works great. The design calls for the thumb image to be transparent to the background of the view. This is where my problem comes in, you can see the two sides of the slider coming together in the middle of the thumb image. I don't want it to look like this. I want the slider bars to stop a the edge of the thumb image. Any ideas as to how I can accomplish this? Any and all suggestions are welcome. Thanks.</p>
  
  <p>This is the Code I'm using so far.</p>
  
  <pre><code>UIImage *thumbImage = [UIImage imageNamed:@"thumb.png"];
  UIImage *minImage = [UIImage imageNamed:@"min.png"];
  UIImage *maxImage = [UIImage imageNamed:@"max.png"];
  
  minImage = [minImage resizableImageWithCapInsets:UIEdgeInsetsMake(0,0,0,0)];
  maxImage = [maxImage resizableImageWithCapInsets:UIEdgeInsetsMake(0,0,0,0)];
  
  [_slider setMinimumTrackImage:minImage forState:UIControlStateNormal];
  [_slider setMaximumTrackImage:maxImage forState:UIControlStateNormal];
  [_slider setThumbImage:thumbImageforState:UIControlStateNormal];
  </code></pre>
  
  <p>I can't Post an image because I don't have enough reputation. I'll try to explain a little better. I have a Thumb Image that is a circle. The center of the circle is transparent and you can see right to the background image of my view. The track for the slider continues all the way to the center of the circle. I'd prefer if the track stopped at the outline of the circle. I hope that makes more sense.</p>