Customise UINavigationController animation: CATransition
I have an UINavigationController. I made VC1 the rootViewController and programatically load VC2 from VC1 and then have the custom animation to go from VC1 to VC2. Standard. Everything is fine and good. Now, I would like to have a custom animation between the two like so: In sum, VC1 slides out of view while VC2 is beneath it. Just like a stack of paper where you slide away the first sheet (VC1) and thus reveal the sheet beneath (VC2). So what I tried is the following code which is called from VC1 in order to get to VC2. But there are problems with it: MyVC2 *vctwo = [[[MyVC2 alloc] init]