我提出一個教程認爲,從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];
其中一期工程,但鑑於它返回到似乎被切斷(移?)