I have a very strange problem. I use tableView to assign a menu. It is working fine. But the problem is that in the last row of this table, only events with the upper half of the area made an event selection. When I click on the middle of the last line, the selection does not work. And clicking on the upper half of the didSelect cell works fine. Can anyone develop it?
Here is a screenshot. I use tableView as: -

here is the code i set for table y position on didSelect backTableView.
UITableView *menuTable=(UITableView*)[self.view viewWithTag:5]; CGRect rect=[menuTable frame]; rect.origin.y-=rect.size.height; [UIView animateWithDuration:0.3 animations:^{ [menuTable setFrame:rect]; } completion:^(BOOL finished) { [tableView deselectRowAtIndexPath:[tableView indexPathForSelectedRow] animated:YES]; isMenuOpen=YES; [bgView setFrame:self.view.frame]; [self.view insertSubview:bgView belowSubview:menuTable]; for (UIView *view in self.view.subviews) { if (view!=menuTable && view.tag!=44) { [view setUserInteractionEnabled:NO]; } } NSLog(@"animation completed"); }]; Setted rowHeight to 40 bringSubViewtoFront TableHeight to 80
What can i do now?
source share