I found that re-sizing the tableView the rows do not move the the new corresponding locations. I am shrinking the top down a little bit, but when doing this I lose the category row since it doesn’t follow the table properly. I have been deleting all rows, then calling a function that re-populates the whole table. Is there a more elegant way of doing this? reloadData() does not correct this.
Not sure I need to place any code here since it’s pretty simple. Just slightly shifting the whole tableView down and changing the height at the same time. When pressing the button to switch it back it looks normal again considering it goes back to it’s original location. If I re-render the whole tableview again with new data, then move back to the original location it leaves a gap above the category row.