页面跳回指定viewController

来源:互联网 发布:关于汽车的软件 编辑:程序博客网 时间:2024/05/22 10:39

     

 UIViewController *lotteryPlayVc;

    NSArray * viewControllers = [self.navigationControllerviewControllers];

    for (lotteryPlayVc in viewControllers){

        if ([lotteryPlayVc isKindOfClass:[LotteryPlayViewControllerclass]]) {

            [self.navigationControllerpopToViewController:lotteryPlayVc animated:YES];

        }

    }



0 0
原创粉丝点击