i have a table view with custom buttons for each cell. these buttons overlap one another, becoming visible/hidden depending on the app's current state. to simplify the issue, i'll stay that each of my cells have one red button and one green button. if the app is in state A, the buttons are red. state B, green.
my tableview can is animated into and off of the main view. each time the animation occurs the tableview is reloaded. but sometimes when the app is in state A and the tableview animates back onto the screen, all of the cells with buttons that completely fit in the tableview are of the correct red color except for the last cell, which is only partially visible and mostly outside of the scroll area is green. however, the last cell's wrong color only lasts for a second, quickly switching to the correct color.
i'm being picky. but how can i resolve this issue?
my tableview can is animated into and off of the main view. each time the animation occurs the tableview is reloaded. but sometimes when the app is in state A and the tableview animates back onto the screen, all of the cells with buttons that completely fit in the tableview are of the correct red color except for the last cell, which is only partially visible and mostly outside of the scroll area is green. however, the last cell's wrong color only lasts for a second, quickly switching to the correct color.
i'm being picky. but how can i resolve this issue?