title: Enable touch event on myImageView, only when user clicks on myImageView
body: <p>i have a UIViewController class named as myViewClass.</p>
  
  <p>there is a UIImage view named as myImageView.</p>
  
  <p>how can i enable touch event on myImageView. </p>
  
  <p>i used the below code to enable touch event on myImageView however the myImageView touch event is triggering on each myViewClass or UI click.</p>
  
  <p>can any one tell me how can i avoid that.i just need only enable touch event on myImageView, when user clicks on myImageView.</p>
  
  <p>i used the below code to enable touch event on myImageView:</p>
  
  <pre><code> -(void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{
      [imageview setFrame: CGRectMake(30,70,375,225)];
      [imageview.layer setBorderColor: [[UIColor whiteColor] CGColor]]; 
    }
  </code></pre>