GJain
GJain

Reputation: 5093

Transition between two viewControllers presented by rootView controller

My use case as follows:

In the last step my transition goes bad as after dismissVC2 and beforePresentVC3, VC1 is visible during transition

How can I fix this problem or is it even possible??

NOTE: I want VC1 in window herirarchy so that I can go to VC1 from VC3

Upvotes: 0

Views: 105

Answers (1)

Marcos Griselli
Marcos Griselli

Reputation: 1346

I think you're getting into some trouble with no sense. You could easily have a hidden navigationController and create and stack every VC and then move around with

self.navigationController popToViewController: animated:

or

self.navigationController pushToViewController: animated:

then you could move from 1 to 3, or 3 to 1 with no problem. If you created all the VCs and are available to access from any of the 3 vcs

Upvotes: 1

Related Questions