title: Setting root view controller in didReceiveLocalNotification: results in black window
body: <p>I know different versions of this question has been asked before but I'm really stuck here. I'm trying to get my app to push a new view from my app delegate when getting:</p>
  
  <pre><code>-(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)localNotif {
  </code></pre>
  
  <p>And I put the following code in there: </p>
  
  <pre><code>MyViewController *myViewController = [[MyViewController alloc]init];
  nvcontrol = [[UINavigationController alloc] initWithRootViewController:myViewController];
  [nvcontrol.navigationBar setTintColor:[UIColor blackColor]];
  self.window.rootViewController = nvcontrol; 
  </code></pre>
  
  <p>and from this, I get a black view (which <code>myViewController</code> should not have) with a black navigation bar. </p>
  
  <p>What am I doing wrong here?</p>