NSInteger index = (NSInteger)[[self.navigationController viewControllers] indexOfObject:self];
if (index > 2) {
[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:(index-2)] animated:YES];
}else{
[self.navigationController popToRootViewControllerAnimated:YES];
}
iOS 多级页面返回
最新推荐文章于 2023-02-08 11:31:43 发布
博客围绕iOS多级页面返回展开,虽未给出具体内容,但可知聚焦于iOS开发中多级页面返回这一信息技术相关问题。
2218

被折叠的 条评论
为什么被折叠?



