Present a ViewController originating from a card (UIView).
To present a ViewController originating from a card, the presenting ViewController has to inherit from CardAnimationViewController
. Then in prepare(for segue: ...)
call
cardEnlargeTransition(cardView: cardView, toVC: segue.destination)
That's it!
Free to use, also commercially. Happy about credits. Please leave a star and tell me if you could use my Framework.