ParallaxHeader
ParallaxHeader copied to clipboard
Section header isn't moving with the tableview
when adding section headers and using the Plain style for the tableview the header will remain on the location where it starts before you make the parallax header smaller.
Is there a way to fix this so it moves smoothly with the header?
I had the same issue, you can fix it by subclassing UITableView
, here is a example:
https://gist.github.com/ajacquelin/965e08322fdf60bd0cc82b4b9f9f135a
@ajacquelin Could not you throw off your code, which solved this problem. I tried to implement a custom tableView class, as in the example by reference, but it did not help.
when adding section headers and using the Plain style for the tableview the header will remain on the location where it starts before you make the parallax header smaller.
Here is a gist with the swift implementation: https://gist.github.com/ajacquelin/965e08322fdf60bd0cc82b4b9f9f135a
Here is a gist with the swift implementation: https://gist.github.com/ajacquelin/965e08322fdf60bd0cc82b4b9f9f135a
does this code also work for the grouped table?
@ajacquelin saved me a couple of hours development time , worked on grouped table too