Reputation: 6039
I have a UITableViewController
where the user taps an 'Edit' button (already in the tableHeaderView
) and once they're in editing mode, the tableFooterView
with a 'Delete' button.
My issue is that the footer scrolls with the table. Is there any way I can make the position fixed (or possibly a different way of doing this)?
Upvotes: 3
Views: 1197
Reputation: 137442
Create two UIView
s, and put the UITableView
in the upper one:
+-------------------+
| +-------------+ |
| | | |
| | | |
| | Table | |
| | | |
| | | |
| | | |
| +-------------+ |
| regular view |
+-------------------+
| footer |
+-------------------+
Upvotes: 3