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
I couldn't get the following AQGridView function to return YES for cells in the second column of the grid when tapped:
I got it working by replacing:
CGPoint hitCenter = [self convertPoint:[hitView center] fromView:hitView]; for ( AQGridViewCell *aCell in [[self visibleCells] copy]) { if ( CGRectContainsPoint( aCell.frame, hitCenter ) ) return ( YES ); }
with:
UIView *parent = hitView.superview; while (parent != nil) { if ([parent isKindOfClass:[AQGridViewCell class]]) { return ( YES ); } parent = parent.superview; }
This could possibly even be a bug with UIView's:
(hitCenter was outside the grid view but debugging the views in the hierarchy suggests this could not be the case.)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I couldn't get the following AQGridView function to return YES for cells in the second column of the grid when tapped:
I got it working by replacing:
with:
This could possibly even be a bug with UIView's:
(hitCenter was outside the grid view but debugging the views in the hierarchy suggests this could not be the case.)
The text was updated successfully, but these errors were encountered: