Open TimOliver opened 4 years ago
Jotting this down so I don't forget.
UISwipeActionPullView
is spawned next to it.didAddSubview:
override.willRemoveSubview:
.Knowing these, it should be possible to intercept both the start and stop events, and encapsulate the cell and the swipe view in clipping view for the duration.
While passable, the visual look if the user swipes on a cell and the delete button appears looks quite messy.
On iOS 13, the delete button is also wrapped inside the clipping bounds of the rounding mask, but replicating this look in iOS 12 might require more UIView hacking than is actually worth it.
I'm making a note of this now, and when I actually get to a point in my production code when I need it, I'll revisit it.