//抓取手勢所在的View
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
{
//如果在UITableViewCell上就關(guān)閉
if ([NSStringFromClass([touch.view class]) isEqualToString:@"UITableViewCellContentView"]) {
return NO; //返回NO 表示 系統(tǒng)左滑返回失效
}
return? YES;
}