I have an app that contains 7 screens. First screen is Login screen. After successful login, I change the root view controller to Home Screen in AppDelegate.
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
HomeViewController *objHomeScreen = [storyboard instantiateViewControllerWithIdentifier:@"HomeViewControllerSID"]; [self.window setRootViewController:objHomeScreen];
Now Home screen will be presented. Next, after 3 controllers again I change rootViewController. Now my question is, will the 3 controllers exist in memory after changing the rootViewController?