长按手势点击方法
- (void)longAction:(UILongPressGestureRecognizer*)longRecognizer{
if (longRecognizer.state == UIGestureRecognizerStateBegan)
//成为第一响应者,需要重写改方法
[self becomeFirstResponder];
CGPoint location = [longRecognizer locationInView:self];
NSIndexPath *indexPath = [self indexPathForRowAtPoint:location];
}