title: Detect touch of UIImage added as subview of UIScrollView
body: <p>I have <code>UIScrollView</code> with many <code>UIImageViews</code>.I need to drag and drop image from <code>UIScrollView</code> to another view. Outside the scrollView touch is worked. But inside scroll view touch is not worked. I used <code>touchesBegan</code>,<code>touchesMoved</code> etc method. Please help me. </p>
  
  <pre><code>-(IBAction)selectBut:(id)sender
  {
  
   scrollView = [[UIScrollView alloc]initWithFrame:CGRectMake(x,y,w,h)];
  
   scrollView.userInteractionEnabled = YES;
  
   int y = 0;
  
   for (int i = 0; i &lt; [myArray count]; i++) {
  
  UIImageView *image = [[UIImageView alloc]initWithFrame:CGRectMake(0, y, 75, 30)];
  
   image.userInteractionEnabled = YES;
  
    y=y+35;
  
   [scrollView addSubview:image];
  
  }
  
  [self.view addSubview:scrollView];
  
  [scrollView setContentSize:CGSizeMake(150, 300)]
  
  }
  
  -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
  
  {
  
     UITouch *touch = [touches anyObject];
  
      if ([touch tapCount] == 1) {
  
          NSLog(@"One touch !!");
      }
  
  }
  </code></pre>