title: Unbalanced calls to begin/end appearance transitions for <UISplitViewController: 0x133630>
body: <p>I load a splitViewController on my iPad app. But loading it with an empty data array.</p>
  
  <p>Then I load a login view and when authenticated successfully I refresh the root and detail view. And because you are authenticated, it is loaded with data.</p>
  
  <p>But while I load the Login view modally I get this error:</p>
  
  <pre><code>Unbalanced calls to begin/end appearance transitions for &lt;UISplitViewController: 0x133630&gt;
  </code></pre>
  
  <p>code:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
  ...
  
  //init
      self.window.rootViewController = self.splitViewController;
  
      //login
      LoginViewController *loginView = [LoginViewController new];
      [loginView setDelegate:self];
      loginView.modalTransitionStyle = UIModalTransitionStyleCoverVertical; //this is still pushing the view horizontally in landscape?
      [self.splitViewController presentModalViewController:loginView animated:YES];
  ...
  
      [self.window makeKeyAndVisible];
  
      return YES;
  }
  </code></pre>
  
  <p>When I comment-out the login load and push, I don't get the error.</p>
  
  <p>But the weirdest thing is that it worked before, but after optimizations of the code this error occurred.</p>