Weird behavior of UITableView method “indexPathForRowAtPoint:”
问题 As show in the following code, when the tableview is stretched (never scrolled up), the NSLog(@"tap is not on the tableview cell") will always be called ( as i thought the indexPath will always be nil ). But when i tap the avatar in the section header with section number greater than 2, the NSLog does not get called. It is weird, anyone know what's going on here? -(UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section { ... UITapGestureRecognizer *tapGesture =