title: Objective C: Stop Scrolling on Touch
body: <p>I am trying to temporarily stop the scrolling of my view when the user starts to touch the screen and move.</p>
  
  <p>I have coded this</p>
  
  <pre><code>- (void) touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
  {
      UITouch *touch = [touches anyObject];
      if (touch){
          [scrollView setScrollEnabled:FALSE];
      }
  }
  </code></pre>
  
  <p>it is not working.</p>