iPhone + UITableView + row height

pratik picture pratik · Oct 28, 2009 · Viewed 50.6k times · Source

I am setting the row height of my UITableView using following code

[tableView setRowHeight: 100.00];

I am using the single line as separator in the UITableView.

Eventhough setting the height above, height of row does not get change.

Answer

Morion picture Morion · Oct 28, 2009

You should implement

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

delegate method. and return 100.0 there.