title: Present while a presentation is in progress? Trying to display a new view after facebook login with parse.
body: <p>I'm trying to present a UITableView I've already made for users to put in data and save in parse. I'm pretty sure I don't present the navigation view.</p>
  
  <p>When I log in, I get the error: </p>
  
  <pre><code>Checklists[4516:c07] Warning: Attempt to present &lt;ChecklistsViewController: 0x10525e90&gt; 
  on &lt;UINavigationController: 0x9648270&gt; while a presentation is in progress!
  </code></pre>
  
  <p>Thanks for your help.</p>
  
  <pre><code>#import "LoginViewController.h"
  #import "ChecklistsViewController.h"
  #import "SetupViewController.h"
  #import &lt;Parse/Parse.h&gt;
  
  @interface LoginViewController ()
  
  @end
  
  @implementation LoginViewController
  
  - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  {
      self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
      if (self) {
          // Custom initialization
      }
      return self;
  }
  
  - (void)viewDidAppear:(BOOL)animated
  {
      [super viewDidAppear:animated];
  
      PFLogInViewController *login = [[PFLogInViewController alloc] init];
      login.fields = PFLogInFieldsFacebook;
      // Need to set the delegate to be this controller.
      login.delegate = self;
      login.signUpController.delegate = self; //signUpController is a property on the login view controller
      [self presentModalViewController:login animated:NO];
  
  }
  
      - (void)logInViewController:(PFLogInViewController *)logInController didLogInUser:(PFUser *)user
  {
      [self dismissModalViewControllerAnimated:YES];
      NSLog(@"Successfully logged in.");
      ChecklistsViewController *controller = [[ChecklistsViewController alloc] initWithStyle:UITableViewStylePlain];
      controller.modalTransitionStyle = UITableViewStylePlain;
      [self presentModalViewController:controller animated:YES];
  
  }
  </code></pre>