标签:
-(UITableViewCell*)GetCellFromTableView:(UITableView*)tableView Sender:(id)sender {
CGPoint pos = [sender convertPoint:CGPointZero toView:tableView];
NSIndexPath *indexPath = [tableView indexPathForRowAtPoint:pos];
return [tableView cellForRowAtIndexPath:indexPath];
}
http://stackoverflow.com/questions/18743099/indexpathforcell-returns-nil-since-ios7
indexPathForCell returns nil since ios7
标签:
原文地址:http://www.cnblogs.com/javastart/p/4268515.html