问题描述:

I have an app with a TabBarController as the Rootviewcontroller. The TabBarController's three tabs are each linked to 3 different NavigationControllers Pathways.

Pathway 1, Pathway 2, Pathway 3.

I click on the tab for Pathway 1 and start following the navigation. At the end if Pathway 1, I provide the user with a segue button to open Pathway 2 (Navigation controller2).

The first scene in NavigationController2 opens properly, but the Tab for Pathway1 is selected. How can i Programmatically have the tab for Pathway2 (navigation controller 2) selected?

My guess is I need to exit NavigationController1's pathway.

Any advise?

Thanks

相关阅读:
Top