Instance Method


Asks the delegate for the height to use for the footer of a particular section.


- (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section;



The table-view object requesting this information.


An index number identifying a section of tableView .

Return Value

A nonnegative floating-point value that specifies the height (in points) of the footer for section.


Use this method to specify the height of custom header views returned by your tableView:viewForFooterInSection: method.

Special Considerations

Prior to iOS 5.0, table views would automatically resize the heights of footers to 0 for sections where tableView:viewForFooterInSection: returned a nil view. In iOS 5.0 and later, you must return the actual height for each section footer in this method.

See Also

Providing Header, Footer, and Row Heights

- tableView:heightForRowAtIndexPath:

Asks the delegate for the height to use for a row in a specified location.

- tableView:heightForHeaderInSection:

Asks the delegate for the height to use for the header of a particular section.


A constant representing the default value for a given dimension.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software