I was wondering if there was any way to allow the tableview header of a plain table to scroll with the table?
I am currently using the following method to add my header.
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section
tableHeaderView scrolls with table. This is not the case for section header views. If you have only one section then you can have the header view as
table.tableHeaderView = aUiView;
If you have more than one sections and all of them have their own header views, then you have no choice than leaving the header views behave in their own ways. Or, you can imitate the header view by making/configuring/customizing the first row of each section look like header view and remove the actual section header views.