这里有五个controllers here, AViewController, BViewController, CViewController,DViewController,EViewController,
控制器,
A present---> B
B present---> C
C push--->D
D push--->E
现在,如果我想一步一步从EViewController返回到AViewController,我应该编写什么代码?
最佳答案
[self.navigationController popToRootViewControllerAnimated:animated];