HeightForFooterInSection Issue

Discussion in 'iPhone/iPad Programming' started by ooo, Apr 8, 2009.

  1. ooo
    macrumors regular

    Joined:
    Nov 23, 2007
    #1
    For some reason this delegate call does not seem to work.

    Code:
    - (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.

    Thanks!
     

Share This Page