这是我的代码结构:
>UIWindow
>>   UIRootController
>>>     UILeftContentView
>>>     UIRightContentView
>>>         UINavigationController1
>>>         UINavigationController2
作为侧拉的一个例子,UILeftContentView 有一个 tableview,我点击 cell 改变UIRightContentView 的view.
 [self.RightContentView addSubview:NavigationController1.view];
 [self.RightContentView addSubview:NavigationController2.view];我用 bringSubviewToFront改变显示的view。
问题:
当我点击改变了NavigationController ,我点击右上角设置的item的时候
      [self.navigationController pushViewController:controller animated:YES]; 
进入下个controller时,导航栏左右的item出现飘过的现象,并且当我用 popViewControllerAnimated:YES 返回的时候没有动画.
为什么?