标签:
[self.navigationController pushViewController:[self.navigationController.viewControllers objectAtIndex:i] animated:YES];i 就是你所要到得页面在总的页面的位置。当页面比较多时,上面那个方法可能不太合适,可以使用以下方法for (UIViewController *controller in self.navigationController.viewControllers) { if ([controller isKindOfClass:[你要跳转到的Controller class]]) { [self.navigationController popToViewController:controller animated:YES]; }}iOS层级跳转(UINavigationController跳转返回到指定的页面)
标签:
原文地址:http://blog.csdn.net/hxqblog/article/details/44835439