title: Presenting modal viewcontroller over splitviewcontroller at app startup
body: <p>Due to the need for UISplitViewController to be rootviewcontroller, I am trying instead to present a viewcontroller modally at app startup to act as a login/welcome screen for the user. Apparently the following code in my AppDelegate.m should do the trick with IOS 6:</p>
  
  <pre><code>#import "AppDelegate.h"
  #import "WelcomeViewController.h"
  
  @implementation AppDelegate
  
  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
  {
  // Override point for customization after application launch.
  
  WelcomeViewController *modalWelcomeView = [[WelcomeViewController alloc] initWithNibName:@"Welcome" bundle:nil];
  [modalWelcomeView setModalPresentationStyle:UIModalPresentationFullScreen];
  [self.splitViewController presentViewController:modalWelcomeView animated:NO Completion:nil];
  
  return YES;
  }
  </code></pre>
  
  <p>yet I get a "Property 'splitViewController' not found on object of type 'AppDelegate'" for the line above <code>return  YES;</code>. I fear I'm doing something silly...</p>
  
  <p>Any suggestions? Many thanks.</p>