EDIT: Just realized that this might not answer your question. But this is an alternative.
If you are using a storyboard, you can perform a custom transition by creating a custom segment. In the attribute inspector, change the name of the segue class to your own transition class, for example. MySegue . Then create the MySegue class and implement the -(void)perform method to complete your transition.
- (void) perform{ UIViewController *source = self.sourceViewController; UIViewController *destination = self.destinationViewController; [UIView transitionFromView:source.view toView:destination.view duration:0.50f options:UIViewAnimationOptionTransitionFlipFromTop completion:nil]; }
Pulsar
source share