阅读背景:

导航控制器中移除某一个控制器

来源:互联网 

1. 使用此代码,并享受:

NSMutableArray *navigationArray = [[NSMutableArray alloc] initWithArray: self.navigationController.viewControllers];
// [navigationArray removeAllObjects]; // This is just for remove all view controller from navigation stack.
[navigationArray removeObjectAtIndex: 2]; // You can pass your index here
self.navigationController.viewControllers = navigationArray;
[navigationArray release];
NSMutableArray *navigationArray



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: