title: Hide UISlider thumb image
body: <p>I am trying to create a UISlider without the thumb image.</p>
  
  <p>How can I do this, this is my code so far:</p>
  
  <pre><code>UISlider *sli = [[UISlider alloc] initWithFrame:progressView.frame];
      [sli setThumbImage:nil forState:UIControlStateNormal];
      [sli setBackgroundColor:[UIColor clearColor]];
  
      [sli setMinimumTrackImage:[[UIImage imageNamed:@"ProgressBlueCap.png"] stretchableImageWithLeftCapWidth:10.0 topCapHeight:0.0] forState:UIControlStateNormal];
      [sli setMaximumTrackImage:[[UIImage imageNamed:@"ProgressBlueCapRight.png"] stretchableImageWithLeftCapWidth:10.0 topCapHeight:0.0] forState:UIControlStateNormal];
  </code></pre>