SMKTransition SMKTransition - custom modal animation let test = TestViewController() test.modalPresentationStyle = .custom test.transitioningDelegate = Transition.shareManager() present(test, animated: true, completion: nil)