Closed alekseypotapov-dev closed 11 years ago
The solution was just add the following code to GMGridView.m
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch
{
if ([touch.view isKindOfClass:[UIButton class]])
{
return NO;
}
return YES;
}
I have GridView's cell as a separate screen. And some components (buttons, etc) on it. The problem is, that in ios 6+ I can get access to that components (button clicks and so on) but not in 5.0 and 5.1. In this case when I try to interact with screen (cell) the method
is called with the same "position" (actually it shows the number of current cell) The question is - how can I make components on the gridView cell active on ios 5.0 as on ios 6+?