I would suggest different approach. Add tap gesture recognizer to the imageview. That is probably easiest solutions. If you have addImageView method that adds image view to view then, go on like this,
- (void)addImageView
{
UIImageView * imageView = [[UIImageView alloc] initWithFrame:CGRectMake(10,10,100,100);
imageView.userInteractionEnabled = YES;
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self selector:@selector(tapped:)];
[imageView addGestureRecognizer:tap];
}
- (void)tapped:(UITapGestureRecognizer*)tap
{
NSLog(@"%@", tap.view);
}