我提出一个教程认为,从AppDelegate中:解聘的viewController从AppDelegate中
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
....
EERootVC *rootVC = (EERootVC *)self.window.rootViewController;
UINavigationController *navcon = (UINavigationController*)rootVC.contentViewController;
EETutorialRootVC *rootTutorialViewController = [rootVC.storyboard instantiateViewControllerWithIdentifier:@"EETutorialRoot"];
[navcon pushViewController:rootTutorialViewController animated:NO];
return YES
}
我怎么能开除一旦完成了这个新的看法?
我已经试过这样:
[self.navigationController popViewControllerAnimated:YES];
其中一期工程,但鉴于它返回到似乎被切断(移?)