HeightForFooterInSection Issue

Discussion in 'iOS Programming' started by ooo, Apr 8, 2009.

  1. ooo
    Expand Collapse
    macrumors 6502

    Nov 23, 2007
    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. 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.


Share This Page