0

I want to make following: When I drag cells down so that make bounce effect, sectionHeaderView is dragging with first cell. And free space appears between sectionHeader and top edge of tableView. (https://i.stack.imgur.com/kavzj.png)

But I want sectionHeaderView to stay separately from first cell. And free space should appear between sectionHeaderView and first cell when bouncing. (https://i.stack.imgur.com/q2EpU.png)

Is it possible?

1 Answers1

0

You could pin a fake header above the table view. That way it won't scroll with the table view.

enter image description here

CrimsonChris
  • 4,651
  • 2
  • 19
  • 30