I have a series of imageviews that I identify using their tag. I have added a single tap gesture to the images.
UITapGestureRecognizer *singleTap = [[UITapGest
The only argument you can send through UITapGestureRecognizer selector is the UITapGestureRecognizer itself as following:
Make sure to put ":" after the selector name like you previously did :
UITapGestureRecognizer *singleTap =
[[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(selectImage:)];
Then add a parameter to selectImage so you can retrieve the View as following:
-(void) selectImage:(UITapGestureRecognizer *)gestureRecognizer{
//Get the View
UIImageView *tableGridImage = (UIImageView*)gestureRecognizer.view;
}