I have a simple question, not able to sort it out. I have a UITableView in my application. There are 3 section and each section has 3 rows.
I want to increase the height of first cell of the first section. I am using the delegate for this but it increases the height of the first cell of the third section.
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.row == 0 && sectionValue==0)
{
sectionValue=1;
return 180.0;
}
else
{
return 44.0;
}
}