Reputation: 38162
Can I stop table header view from scrolling?
Upvotes: 4
Views: 3365
Reputation: 58478
The table header view is attached to the table and is within the content view of the table's internal scroll view. You can't stop it from scrolling.
You may be able to get the effect by making your table view slightly less tall and placing a view above it as a sibling rather than a child.
This will require you to implement the controller as a UIViewController rather than a UITableViewController though so that the view property isn't the table itself.
Upvotes: 4