I’m working on an app and I’ve recently added in a sidebar and I want it to act like Facebook’s. They have a search bar anchored at the top, as a custom header I’m sure (since the other section headers replace it as you scroll), but the header doesn’t allow bouncing. The thing that I can’t figure out how to do is allow for bouncing on the cells within the tableview. Setting tableview.bounces = NO locks everything in place, but doesn’t allow for the cells to bounce like I want them to.
In summary, I have a sidebar that slides over. I have one section, with a custom header. I want that header anchored(locked) to the position it is initialized in (no bouncing above the header). Then I want the cells within the tableview to be able to bounce at the top and bottom of the view.
Thanks for any help or input.
Instead of making a section or table header, why not just position a “header” view above the table view, and make the tableview smaller?