博客> iOS连续返回几个界面
iOS连续返回几个界面
2019-03-21 13:52 评论:0 阅读:819 674313234a
ios

for (UIViewController *controller in self.navigationController.viewControllers) { if ([controller isKindOfClass:[@“你要返回的控制器类名” class]]) { [self.navigationController popToViewController:controller animated:YES]; } }

收藏
0
sina weixin mail 回到顶部