-(float)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell * cell = [self.tableView cellForRowAtIndexPath:indexPath];
return cell.bounds.size.height;
}
В чем будет недостаток?
Я изменил это с
-(float)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
UITableViewCell * cell = [self tableView:tableView cellForRowAtIndexPath:indexPath];
return cell.bounds.size.height;
}
tableView:cellForRowAtIndexPath:
? - person rmaddy   schedule 04.12.2012UITableView
имеет метод прямого получения такой ячейки. - person rmaddy   schedule 04.12.2012