title: Custom Segue Animation showing black screen
body: <p>I am struck with a new problem, on presenting the <code>destinationViewController</code> using custom segue, during transition the source <code>ViewController</code> is changed to black screen, i need the screen to be as it is (my design).</p>
  
  <pre><code>UIViewController *sourceViewController = (UIViewController*)[self sourceViewController];
  UIViewController *destinationController = (UIViewController*)[self destinationViewController][screenshot][1]
  
  CATransition* transition = [CATransition animation];
  transition.duration = 0.1;
  transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
  transition.type = kCATransitionPush; //kCATransitionMoveIn; //, kCATransitionPush, kCATransitionReveal, kCATransitionFade
  transition.subtype = kCATransitionFromRight; //kCATransitionFromLeft, kCATransitionFromRight, kCATransitionFromTop, kCATransitionFromBottom
  
  
  [destinationController.view.layer addAnimation:transition forKey:kCATransition];
  [sourceViewController presentViewController:destinationController animated:NO completion:nil];
  </code></pre>