RTRootNavigationController icon indicating copy to clipboard operation
RTRootNavigationController copied to clipboard

push 到二级界面 Pop回来时候失效了

Open Z-Kevin opened this issue 8 years ago • 3 comments
trafficstars

我在某个类重新定义的返回按钮,按钮触发返回[self.navigationController popViewControllerAnimated:YES]无法POP到上级界面,debug 发现navigationCtroller为nil debug rt_navigationController也是nil 是非必选的问题,目前还没定位到问题有人遇到过吗

Z-Kevin avatar Nov 06 '17 09:11 Z-Kevin

说明你当前这个 VC 没有 push 到一个导航器中

rickytan avatar Nov 06 '17 15:11 rickytan

我push 使用的是self.navigationController pushViewController:detail animated:YES] 是使用 self.navigationController 还是 使用self.rt_navigationController

Z-Kevin avatar Nov 09 '17 06:11 Z-Kevin

两者都可以用的

rickytan avatar Nov 09 '17 08:11 rickytan