title: appdelegate how to pushViewController with storyboard
body: <p>In my app delegate I am pushing the user to a view controller if the user details are saved </p>
  
  <p>AppDelegate.m</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions  
    // cached user
      PFUser *currentUser = [PFUser currentUser];
      if (currentUser)
      {
          NSLog(@"current user signing and looking for VC %@", currentUser);
          // A user was cached, so skip straight to the main view
  
          UINavigationController *navigationController = (UINavigationController *)self.window.rootViewController;
          TaskSelectionViewController*viewController = [[TaskSelectionViewController alloc] initWithUser:currentUser];
          [navigationController pushViewController:viewController animated:YES];
  
                  NSLog(@"VC found");
              } else {
                  NSLog(@"VC not found");
      }
  </code></pre>
  
  <p>TaskSelectionViewController.m</p>
  
  <pre><code> -(id)initWithUser:(PFUser *)currentUser
  {
  NSLog(@"current user %@", currentUser);
  
  NSLog(@"task Selection initwithuser");
  return self;
   }
  </code></pre>
  
  <p>The push is working but all I get is the NavigationController bar at the top and a black Screen.</p>
  
  <p>what is missing ??</p>
  
  <p>thanks for your help.</p>