可以让某个VC页面先跳转到Appdelegate页面,然后通过appdelegate跳转到指定的页面

        AppDelegate *app = (AppDelegate *)[[UIApplication sharedApplication] delegate];
                UINavigationController *nav = (UINavigationController *)app.window.rootViewController;
                [nav popToRootViewControllerAnimated:NO];先推到顶堆栈,然后从堆栈指定到某个页面
                IndexViewController *index = (IndexViewController *)nav.topViewController;
                UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
                btn.tag =1;
                [index menuAction:btn];

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-06-20
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
  • 2022-12-23
  • 2021-12-11
相关资源
相似解决方案