IOS7 上面。
UITabBarController 的每一个Tab上是一个UINavigationController,当一个子viewcontroller 里面 popToRootViewController :YES,紧接着 UITabBarController setselectedindex:N,就会出现UITabBarController 不见了,但是进入子viewcontroller的时候会闪一下,但是之前该显示UITabBarController的地方不显示了。
其实还是在的,应该是层级乱了,所以不能显示在最前了。
解决方案:popToRootViewController :YES 修改为: popToRootViewController :NO,问题解决。