I add my UILongPressGestureRecognizer to a cell like so:
UILongPressGestureRecognizer *longpressGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longPressHandler:)];
longpressGesture.minimumPressDuration = 2.5;
longpressGesture.t
[longpressGesture setDelegate:self];
[cell addGestureRecognizer:longpressGesture];
[longpressGesture release];
I want to know which cell the UILongPressGestureRecognizer was pressed in, I cant add a tag to it, is there some clever trick to do to find out this info?
You added it to the cell so the cell is the recognizer’s view: