页面跳回指定viewController

     

 UIViewController *lotteryPlayVc;

    NSArray * viewControllers = [self.navigationController viewControllers];

    for (lotteryPlayVc in viewControllers){

        if ([lotteryPlayVc isKindOfClass:[LotteryPlayViewController class]]) {

            [self.navigationController popToViewController:lotteryPlayVc animated:YES];

        }

    }



你可能感兴趣的:(页面跳回指定viewController)