Contents

tableView(_:willDisplayHeaderView:forSection:)

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

Declaration

optional func tableView(_ tableView: UITableView, willDisplayHeaderView view: UIView, forSection section: Int)

Parameters

  • tableView:

    The table view 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