(iOS) Implement heightForRowAtIndexPath

This commit is contained in:
Twinaphex 2015-09-12 05:38:17 +02:00
parent 36855efb63
commit 0e20e28244
1 changed files with 5 additions and 0 deletions

View File

@ -568,6 +568,11 @@ titleForHeaderInSection:(NSInteger)section
return [[self itemForIndexPath:indexPath] cellForTableView:tableView];
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
return UITableViewAutomaticDimension;
}
- (void)tableView:(UITableView *)tableView
didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{