SwiftReorder
SwiftReorder copied to clipboard
avoid cut off shadows while dragging when using shadows on tableview cells
I don't know if this is also useful for you. I cut the shadow layer of each subview with masksToBounds=true to avoid some ugly cut off problems with shadows while dragging the cell. I added this before the creating the snapshot of the cell view.
Note: This problem only occurs when you use shadows on your tableview cells.