I want the row height to be based off the content height… so each row height is sized to fit based off the content.
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return tableView.contentSize.height;
}
This is what i have so far but it doesn’t work.
1 Answer