My goal is to present a view controller without dismissing directly to its presentingViewController
.
To make it more clear, consider the following example:
Referring to this storyboard:
Assuming that the first black view controller is the first (initial) one, it should present the third white view controller; The issue is the white view controller should dismisses to the second orange view controller but not the black one, so it should behave like:
- Black VC Presents White VC.
- White VC Dismisses to Orange VC.
- Orange VC Dismisses to Black VC.
How to apply such a behavior?
Remark: There is no navigation controller, it should be present/dismiss, not push/pop.