I'm trying to do an animation similar to this on in a UITableView.The slide in animation would be pretty straightforward by modifying the constraints of the content or maybe the transform of the cell using CATransform3D
.
The main problem here is, how can I merge two views by simultaneously modifying the cornerRadius
of both the view as one view is moving into the screen such that both views appear to be merged(Like in the GIF below). So, my question is,
Is it possible to create an animation where the content of two
UITableViewCell
can be merged like in the GIF below.If that isn't possible, how can this animation be done on two
UIView
which aren't in aUITableView
. I might be able to figure out a workaround if I know how to do this animation on two simpleUIView
.
I've been trying to search and figure out a way to do this for quite sometime but I have no clue on how to do this. Any help or pointers on how to go about to solve this problem will be much appreciated. Thanks!