title: Click Event on UIImageView programmatically in ios
body: <p>I am displaying a image from code here is the code</p>
  
  <pre><code>UIImageView *preArrowImage =[[UIImageView alloc]init ];
  preArrowImage.image =[UIImage imageNamed:@"arrowprev.png"];
  preArrowImage.frame = CGRectMake(20, 60, 10, 30);
  [self.view addSubview:preArrowImage];
  </code></pre>
  
  <p>I want to handle the touch event on the preArrowImage programmatically. </p>