I have a tableview with custom cells in my App and each cell contains two checkbox buttons.
The problem is, when a scrolling event is triggered (up or down) it’s reloading the tableview. Therefore, the checkbox buttons become to initial state.
Please give me a solution.
Thanks you
You should set the state of the button in the datasource and load this state when creating the cell. I wrote a small Xcode project to demonstrate this.