I have 4 View Controllers (A, B ,C ,D). I can go from A -> B , B -> C. In the View Controller C what I want to do, Remove the B and C then show view controller D. so that If I go back from D it goes to A.
I want to perform this with a transition smoothly. D already has a UIViewControllerTransitioningDelegate methods implemented. So in C I should be able to remove itself and B then show D with the D's Transition like nothing happened. I am not using a NavigationController. What are the approaches I can use to do this ?
Im using Xcode 9 and Swift 4 Thanks