博客> iOS连续返回几个界面
iOS连续返回几个界面
2017-11-20 17:07 评论:0 阅读:428 674313234a
ios

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

收藏
0
sina weixin mail 回到顶部