问题
My app flow is like this:
(1) The app launches you into a LogInViewController that is embedded in a NavigationController.
(2) Inside LogInViewController if runCount < 1 I want to present a set of tutorials VCs that are not embedded in a nav stack.
(3) You can tap "skip" or after swiping through the tutorial VCs you tap an "OK" button, all of which segue you back to LoginViewController.
The problem is that when you are segued back to LogInViewController there's no NavigationController.
What's the best way to approach this?
回答1:
The answer is really simple, rather than wiring up the buttons to my LogInViewController all I needed to do was wire them up to the NavagationController instead since it presents the LogInViewController
来源:https://stackoverflow.com/questions/34971707/how-to-present-vc-modally-then-segue-to-a-vc-thats-embedded-in-a-navigation-con