iOS之在AppDelegate中push到指定页面
1 UITabBarController *tbc = (UITabBarController *)self.window.rootViewController; 2 UINavigationController *nav = tbc.viewControllers[tbc.selectedIndex]; 3 ProductDetailsViewController *dVc = [[ProductDetailsViewController alloc] init]; 4 singleCase.finProductIDStr = @"DK00242017031400001"; 5 dVc.hidesBottomBarWhenPushed = YES; 6 [nav pushViewController:dVc animated:YES];