I want to create an animation where the screen will split from the center into two parts to open up to a new UIViewController
.
Currently, I am trying to copy the layer into two variables, but I am not able to copy the layer. One layer will go to the right and the other to the left so it will look like opening doors.
Any help will be appreciated.