title: Why is modal presentation form sheet not being displayed as expected?
body: <p>I'm just trying a really simple example here as I start to delve into iOS development for ipad.</p>
  
  <p>I'm creating a split view and immediately trying to present a modal form sheet.
  Should be really basic.</p>
  
  <p>With what I've tried I get what behaves like a page sheet instead.
  In landscape I can see the split view beneath but I don't see the top of my modal view (the tool bar is hidden but is in view in portrait).</p>
  
  <p>I would expect to just grey out the split view beneath a 540x620 modal dialog. I should see the split view beneath my modal in both portrait and landscape like all the nice form sheet dialogs in the Cheddar app for example. </p>
  
  <p>I must be doing something wrong here but all the examples I've read and same within the Cheddar app are doing pretty much what I outline below. </p>
  
  <p>In the app delegate:</p>
  
  <pre><code>    MasterViewController *masterViewController = [[MasterViewController alloc] initWithNibName:@"MasterViewController" bundle:nil];
  UINavigationController *masterNavigationController = [[UINavigationController alloc] initWithRootViewController:masterViewController];
  
  DetailViewController *detailViewController = [[DetailViewController alloc] initWithNibName:@"DetailViewController" bundle:nil];
  UINavigationController *detailNavigationController = [[UINavigationController alloc] initWithRootViewController:detailViewController];
  
  masterViewController.detailViewController = detailViewController;
  
  self.splitViewController = [[UISplitViewController alloc] init];
  self.splitViewController.delegate = detailViewController;
  self.splitViewController.viewControllers = @[masterNavigationController, detailNavigationController];
  self.window.rootViewController = self.splitViewController;
  
  [self.window addSubview:self.splitViewController.view];
  
  ModalViewController *modalView = [[ModalViewController alloc] initWithNibName:@"ModalViewController" bundle:nil];
  UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:modalView];
  navController.modalPresentationStyle = UIModalPresentationFormSheet;
  
  [self.splitViewController presentViewController:navController animated:NO completion:nil];
  </code></pre>