title: Objective C: Drag and Drop on a UIScrollView
body: <p>I am making a book application and i used UIScrollView for paging. Everything is going pretty well but when i started coding the function for drag and drop Images it's not working, but the code works in my other projects without the UIScrollView.</p>
  
  <p>Is it possible to apply drag and drop functionality on a UIScrollView?</p>
  
  <p>here's my code</p>
  
  <pre><code>    image1 = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"image1.png"]];
      [image1 setFrame:CGRectMake(2834, 225, 150, 184)];
      [scrollPaging addSubview:image1];
  
  - (void) touchesMoved:(NSSet*)touches withEvent:(UIEvent*)event {
      UITouch *touch = [touches anyObject];   
      CGPoint location = [touch locationInView:self.view];
  
      image1.center = location;
  }
  </code></pre>