Instead of setting uiviewcontroller\'s modalTransitionStyle
, I want to add an CAAnimation(or some other thing). This code can perform an custom animation in nav
From apple develop guide:
Presenting a View Controller Using Custom Animations
To present a view controller using custom animations, do the following in an action method of your existing view controllers:
Create the view controller that you want to present.
Create your custom transitioning delegate object and assign it to the view controller’s transitioningDelegate property. The methods of your transitioning delegate should create and return your custom animator objects when asked.
Call the presentViewController:animated:completion: method to present the view controller.
...