// 在cell中写一个长按方法(if中写,使此方法可重用)
UILongPressGestureRecognizer *longPress = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(click:)];
[cell addGestureRecognizer:longPress];
[longPress release];
// 实现点击方法
- (void)click:(UILongPressGestureRecognizer *)longPress {
// 通过手势,找到手势所添加的cell
UITableViewCell *cell = (UITableViewCell *)longPress.view;