3

enter image description here

As shown in pic, when trying slide table up, section title B line will move up as well, but will keep on top of screen until next section title line arrive to top of screen.

Is there anyway to let the section title line move as normal table cell, don't stay on the top of screen until next section title line arrived?

Jason Zhao
  • 1,278
  • 4
  • 19
  • 36

2 Answers2

1

I dont know of how you would do this using the normal sections, you could fake it by adding extra cells to the table view which represent section headers though

wattson12
  • 11,176
  • 2
  • 32
  • 34
1

There's an answer for this already here:

Change Default Scrolling Behavior of UITableView Section Header

Basically, use grouped style for the table and then provide your own UIViews for the table headers and cells to customise the look of them.

Community
  • 1
  • 1
Nick Lockwood
  • 40,865
  • 11
  • 112
  • 103