Reputation: 701
I have a tableview with a bunch of cells of various pretty colors. When I tap on one, it highlights fine, but when I call deselectRowsAtIndexPaths the fadeout animation goes from the highlighted color to white, not to the cell's contentView.backgroundColor. Any idea how to fix this? It looks really ugly with the cell fading from grey to white, then snapping to orange all of a sudden.
Upvotes: 0
Views: 146
Reputation: 1201
It should work if you set the backgroundColor on the cell itself and not its contentView.
Upvotes: 2