I’m looking for a way to remove an existing UIViewController and add a new one.
I would like to animate that the same way as UINavigationController does it.
Why do I not want to use UINavigationController then?
- I don’t need any of the toolbars or navigation items
- I do not need the
UINavigationController‘s awareness of its history (= the stack of pushed controllers)
It must be possible with CATransition but how the heck?
You could hook up to ViewWillAppear method and use CoreAnimation to transition your view into the screen.