title: Black effect when screen popping controller with custom animation?
body: <p>I am popping a view controller from navigation controller.When i am popping controller i want to give it animation like Pushing a view controller.For that purpose i am using below code</p>
  
  <pre><code>    CATransition* transition = [CATransition animation];
      transition.duration = 0.3f;
      transition.type = kCATransitionPush;
      transition.subtype = kCATransitionFromRight;
      [self.navigationController.view.layer addAnimation:transition
                                                  forKey:kCATransition];
  
      [self.appDelegate setUpForLVC];
      [self.navigationController popViewControllerAnimated:NO];
  </code></pre>
  
  <p>When animation starts i get black effect here.Please tell me what is the issue with my code ?</p>