title: UISlider slider stops sliding while implementing UITouch events
body: <p>I want to detect <code>touchesBegan</code> and <code>touchesMoved</code> events for <code>UISlider</code>.I created a custom <code>UISlider</code> class and added <code>UITouch</code> methods. Touch events worked fine but the slider stopped sliding. If i comment the touch methods it again starts sliding again. What have i missed ? Or how i can make both sliding and touch events work ?
  My actual problem is ,i am trying to change the size of thumbnail image when user presses the slider thumbnail image.Moving a slider returns some value,but i want to change when the slider value remains same for long time.Here's a little code what i am trying is</p>
  
  <pre><code> cSlider=[[CLSlider alloc]initWithFrame:CGRectMake(40,90,480,40)];
  
  
  
   [cSlider setMaximumTrackImage:[UIImage imageNamed:@"sliderL.png"
                                                        ] forState:UIControlStateNormal];
  
    [cSlider setMinimumTrackImage:[UIImage imageNamed:@"sliderR.png"]    forState:UIControlStateNormal];
  
  
   [cSlider setThumbImage:[self imageByDrawingCOnImage:[UIImage imageNamed:@"thumb.png"]:sColor] forState:UIControlStateNormal];
  
    [cSlider addTarget:self action:@selector(sliderValue:) forControlEvents:UIControlEventValueChanged];
  </code></pre>
  
  <p>i am trying to change the thumbnail image on long press of slider at particular place.Again the problem is the UITouch Events or UIGesture triggers for whole UISlider not from the place where currently Thumbnail is..</p>