We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在编辑模式下,不能交换位置的cell,在点到这些cell上滚动的时候,无法滚动collectionview.
(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{ _longPressGesture.enabled = [self indexPathForItemAtPoint:point];
//获取手指所在的cell NSIndexPath *indexPath = [self indexPathForItemAtPoint:point]; if ([self xwp_indexPathIsExcluded:indexPath]) { _longPressGesture.enabled = false; }
return [super hitTest:point withEvent:event]; }
并且要是能实现长按编辑删除的功能就更好了。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
在编辑模式下,不能交换位置的cell,在点到这些cell上滚动的时候,无法滚动collectionview.
(UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{
_longPressGesture.enabled = [self indexPathForItemAtPoint:point];
//获取手指所在的cell
NSIndexPath *indexPath = [self indexPathForItemAtPoint:point];
if ([self xwp_indexPathIsExcluded:indexPath]) {
_longPressGesture.enabled = false;
}
return [super hitTest:point withEvent:event];
}
并且要是能实现长按编辑删除的功能就更好了。
The text was updated successfully, but these errors were encountered: