拿某一个连续跳转的VC

        for (UIViewController *viewController in self.navigationController.childViewControllers) {
            if ([viewController isKindOfClass:[PublishHomeWorkViewController class]]) {
                [self.navigationController popToViewController:viewController animated:YES];
            }
        }
    }

你可能感兴趣的:(拿某一个连续跳转的VC)