Instance Method

tableView:willDisplayHeaderView:forSection:

Tells the delegate that the table is about to display the header view for the specified section.

Declaration

- (void)tableView:(UITableView *)tableView willDisplayHeaderView:(UIView *)view forSection:(NSInteger)section;

Parameters

tableView

The table-view object informing the delegate of this event.

view

The header view that is about to be displayed.

section

The index number of the section containing the header view.

See Also

Providing Custom Header and Footer Views

- tableView:viewForHeaderInSection:

Asks the delegate for a view object to display in the header of the specified section of the table view.

- tableView:viewForFooterInSection:

Asks the delegate for a view object to display in the footer of the specified section of the table view.

- tableView:willDisplayFooterView:forSection:

Tells the delegate that the table is about to display the footer view for the specified section.