#import "FlipSegue.h" @implementation FlipSegue - (void)perform { UIViewController *sourceViewController = (UIViewController *)self.sourceViewController; UIViewController *destinationViewController = (UIViewController *)self.destinationViewController; [UIView transitionWithView:sourceViewController.navigationController.view duration:1 options:UIViewAnimationOptionTransitionFlipFromLeft animations: