I have a dynamic UITableViewCell
. Now my problem is in some cases I wanted to have the cell
to be fixed, the cell
should be in top position, while other cells keeps scrolling under it.
This UITableView
is normal case, every cell should be scrollable here.
But,
In this UITableView
, the first cell should be fixed.
PS. the cell
which will going to be fixed is always present at the top of the UITableView
.
I did tried with the viewForHeaderInSection:
, But that did not worked for me, as the cell is generated dynamically and each cell again have a collectionView
in them, which will provide data form strength and price.
I also tried scrollViewDidScroll
and the cell is fixed, but get replaced by the next cell as soon as it get's disappear. For scrollViewDidScroll
I looked and try to implement as suggested in this thread: UITableView - How to keep table rows fixed as user scrolls