我有这样的视图控制器:
startViewController ------> menuViewController 
                                          \
                                           \ ------> ImportantViewController
从startMenu我推menuView然后我再次推importantView,我已将importantView其作为我的 rootViewcontroller 使其成为我的父视图,如下所示:
UINavigationController *navControl = [[UINavigationController alloc] initWithRootViewController: vc];
[self presentModalViewController: navControl animated: YES];
从那以后,我importantView通过以下方式推送了视图:
[self.navigationController pushViewController:vc animated:YES];
现在我的概率是这样的:

ImportantVIew当我rootView推到menuView推到ViewA  然后推到视图 B 然后选择是返回menuView还是返回ViewA。
我的问题是:我想将 myViewB作为 rootView,然后当我转到ImportantView它时将它返回为 as rootView。是否可以有 2 个 rootView?还是我需要互相替换?
帮助将不胜感激。谢谢。