title: tap gesture not recognized on uiimageview
body: <p>I added two <code>uiimageview</code>s, one on another <code>subview uiview</code> (<code>imageview1,imageview2</code>). In the first view the top <code>uiimageview</code> is hidden(<code>imageview2</code>) and in the second view the bottom <code>imageview</code> is hidden(<code>imageview1</code>).</p>
  
  <p>Allocating tap gesture:</p>
  
  <pre><code>UITapGestureRecognizer *singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(oneTap:)];
  UITapGestureRecognizer *singleTap1 = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(oneTap:)];
  </code></pre>
  
  <p>Set user interaction for both uiimageview to YES.</p>
  
  <pre><code>[singleTap setNumberOfTapsRequired:1];
  [singleTap1 setNumberOfTapsRequired:1];
  </code></pre>
  
  <p>// adding gesture to uiimageview </p>
  
  <p>Add tap gesture recognizer and selector respectively. </p>
  
  <pre><code>[imageview1 addGestureRecognizer:singleTap];
  [imageview2 addGestureRecognizer:singleTap1];
  </code></pre>
  
  <p>But my taps are not recognized.</p>
  
  <p>Can any one tell me where the mistake is?</p>