//抓取手势所在的View
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
{
//如果在UITableViewCell上就关闭
if ([NSStringFromClass([touch.view class]) isEqualToString:@"UITableViewCellContentView"]) {
return NO; //返回NO 表示 系统左滑返回失效
}
return YES;
}