PDA

View Full Version : HeightForFooterInSection Issue




ooo
Apr 8, 2009, 02:50 PM
For some reason this delegate call does not seem to work.

- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section {
return 100.0f;
}


Using NSLog, it goes into the method, but it doesn't do what's suppose to. Basically, I just downloaded a sample sectioned / populated UITableView from this website (http://www.iphonesdkarticles.com/2009/01/uitableview-sectioned-table-view.html). I changed it from a simple view to a grouped view and added the code. Any ideas why it isn't working? I tried it with my own code and other tables I had and it's not working.

I am aware of setSectionHeaderHeight:100.0f, but I want to set the footer height differently in each section.

Thanks!