标签:
NSArray *navArray = self.navigationController.viewControllers; TabsViewController *tabsVC = [[TabsViewController alloc]init]; tabsVC = [navArray objectAtIndex:1]; [self.navigationController popToViewController:tabsVC animated:YES];
用数组取到当前栈内的ViewController 并根据下标取某个ViewController
标签:
原文地址:http://www.cnblogs.com/cityingma/p/5206460.html