I'm trying to change the header title for a section in a UITableView
when a cell from that section is selected. tableView:titleForHeaderInSection
is triggered by the application, so that doesn't help. I can call reloadData
, but the performance suffers because the app has to reload all the visible cells. I also tried to use a custom header, but that also results in some performance problems.
Is there any way to get a handle to the UILabel
that the default header view uses and change its text manually?