ios - How to push two view controllers but animate transition only for the second one? -


I have three controllers (firstvc, secondvc, thirdv) inside the storyboad, and the navigation is sequential: a user navigates from the firstvcc For the third, and then for the third, now I need to create some buttons which will open up to ThirtyVi from the first VVC, but will also have second seconds on the navigation stack, so when a user presses back from the third CVC Kandwu will return. Therefore, I do not need the animation for secondwice from FirstWise, just need to push second second on the navigation controller stack and then only have to animate the transition for the third cvc.

I was unable to find how to disable animation, so I am thinking that I should manually instruct second seconds from the storyboard, keep it on the navigation stack, and then the third Identify CJU with Any idea how to do this?

The solution you are looking for if you are in the first VCD:

  NSMutableArray * Controller = [self.navigationController.viewControllers mutableCopy]; [Controller addObject: secondVc]; [Controller addObject: thirdVC]; [Self. Navigation Controller SetView Controller: Animated Controller: Yes];  

It will be animate in the third one without the second VCD that appears in the process. When users press the back button, they will return to the second V.C


Comments