presentViewController多级跳转返回

来源:互联网 发布:合肥淘宝合作快递 编辑:程序博客网 时间:2024/05/19 03:44
UIViewController *rootVC = self.presentingViewController;
                
 while (rootVC.presentingViewController) {
           rootVC = rootVC.presentingViewController;
          }
                
 [rootVC dismissViewControllerAnimated:YES completion:nil];
原创粉丝点击