title: Present modal UIViewController over UISplitViewController from AppDelegate
body: <p>I've written the code below to present a modal <code>UIViewController</code> on top of a <code>UISplitViewController</code> from <code>AppDelegate</code>. However, it keeps throwing <code>Application tried to present modally an active controller &lt;UISplitViewController: 0x138023800&gt;.</code>.</p>
  
  <pre><code>- (void)application:(UIApplication *)application performActionForShortcutItem:(UIApplicationShortcutItem *)shortcutItem completionHandler:(void (^)(BOOL))completionHandler {
      NSLog(@"%@", shortcutItem.type);
      if([shortcutItem.type isEqualToString:@"com.myapp.show-me"]){
          UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
          UISplitViewController *tc = [storyboard instantiateViewControllerWithIdentifier:@"SplitViewController"];
          self.window.rootViewController = tc;
          UINavigationController *ivc = [storyboard instantiateViewControllerWithIdentifier:@"Navigation"];
          UIViewController *detailViewController = [ivc.viewControllers objectAtIndex:0];
          detailViewController.restaurant = @"1";
          [tc presentViewController:detailViewController animated:YES completion:nil];
      } else if([shortcutItem.type isEqualToString:@"com.myapp.see-all"]){
          UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
          UISplitViewController *tc = [storyboard instantiateViewControllerWithIdentifier:@"SplitViewController"];
          self.window.rootViewController = tc;
      }
  }
  </code></pre>
  
  <p>What am I doing wrong with <code>com.myapp.show-me</code>?</p>