Search code examples
objective-cipaduisplitviewcontroller

How can we use transition from a view Controller to a split view Controller?


Any possible to include this transition code for split view transitions?

    [UIView transitionFromView:self.window.rootViewController.view
                        toView:viewController.view
                      duration:0.65f
                       options:UIModalTransitionStyleFlipHorizontal
                    completion:^(BOOL finished){
                        self.window.rootViewController = splitViewController;
                    }];

Solution

  • You can using CATransition class and it's class methods