UITableViewCell Prevent Transparency When Reordering

I have a custom UITableViewCell containing a UIBezierPath and a subview (UIView).


The cell behaves as expected until I reorder the cells at runtime.

When I press on a cell to move it:

  • The UIBezierPath disappears (as the background of the cell's alpha turns to 0)
  • All subviews in the cell have their backgroundColor(s) set to clear.


I have tried to override this but nothing works. Overriding setSelected & setHighlighted only stops this behaviour when pressing on the cell but not when you click and drag the cell to move it around/reorder it.

UITableViewCell Prevent Transparency When Reordering
 
 
Q