Here is an example project:
https://github.com/over-ukraine/UITableView-contentInset-test.git
I noticed that the tableViewseparator inserts are aligned based on the label of the cell label, but entering edit mode leaves these inserts unchanged. But Apple applications (fe mail) configure separator inserts when entering and exiting edit mode.
Of course, I can override setEditing:animatedand set a fixed insert in the animation block, but this solution is ugly and does not solve the case when the cells have different label names. Does anyone have an idea how to make the right path?
source
share