title: Change animation transition
body: <p>I got an app with <code>NavigationController</code>. How can i change animation transition style of <code>pushViewController</code> and <code>popToViewController</code>?</p>
  
  <p>UPD</p>
  
  <p>I created category like in @lawicko answer. But i got error when i am trying to call function</p>
  
  <p>[self.navigationController pushViewController:places withCustomTransition:CustomViewAnimationTransitionPush subtype:CustomViewAnimationSubtypeFromLeft];</p>
  
  <p>error is : "use of undeclared identifier 'CustomViewAnimationTransitionPush'"</p>
  
  <p>Where should i declare this part:</p>
  
  <pre><code>typedef enum {
      CustomViewAnimationTransitionNone,
      CustomViewAnimationTransitionFlipFromLeft,
      CustomViewAnimationTransitionFlipFromRight,
      CustomViewAnimationTransitionCurlUp,
      CustomViewAnimationTransitionCurlDown,
      CustomViewAnimationTransitionFadeIn,
      CustomViewAnimationTransitionMoveIn,
      CustomViewAnimationTransitionPush,
      CustomViewAnimationTransitionReveal
  } CustomViewAnimationTransition;
  </code></pre>
  
  <p>Write now i declare it in <code>UINavigationController+Additions.h</code></p>
  
  <p>UPD 2: One more new error:</p>
  
  <pre><code>Undefined symbols for architecture i386:
    "_OBJC_CLASS_$_CATransition", referenced from:
        objc-class-ref in UINavigationController+Additions.o
    "_kCATransition", referenced from:
  </code></pre>
  
  <p>and same errors foor all _kCATransitions</p>