title: Modal view not showing up
body: <p>My application is basically a TableView application with few Modal views. There is a login Modal that shows if screen is not active for a specific time interval. User should enter the passcode to see the application window.</p>
  
  <p>Problem: When table view is active screen, timeout login view (Modal) shows properly, but when any Modal is active screen, no Login modal shows up. I have no idea how to deal with this.</p>
  
  <p>This is how I am showing login Modal.</p>
  
  <pre><code>- (void)applicationDidBecomeActive:(UIApplication *)application
  {
      LoginViewController *controller = [[UIStoryboard storyboardWithName:@"MainStoryBoard" bundle:nil] instantiateViewControllerWithIdentifier:@"LoginView"];
      [self.window.rootViewController  presentModalViewController:controller animated:YES];
  }
  </code></pre>
  
  <p>I am using Xcode 4.2.1</p>
  
  <p>Any help on this would be a great help.</p>
  
  <p>Thanks
  Alok</p>