Reputation: 43
I'm using custom cells in my table view. I have the height of the cells set but for only the 10th cell in the table I need to resize.
Upvotes: 0
Views: 80
Reputation: 39512
You need to implement the UITableViewDelegate
method heightForRowAtIndexPath:
Something like this:
- (CGFloat) tableView: (UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
if ( indexPath.row == 10 )
return 100.0;
return 40.0;
}
Upvotes: 1