title: Shift frame inside UIPopoverController
body: <p>My universal app uses NIBs for its settings screens. I'd like to use the same NIBs for both iPhone and iPad.</p>
  
  <p>Thus on iPad, I use a UIPopoverController in the MainViewController and for settings, simply display the iPhone-sized NIBs, to show what is called the SettingsViewController. The popover is sized 320x460 points.</p>
  
  <p>This causes a problem, because the iPhone version draws a number of things above the status bar programmatically, and for the iPad version this is not necessary. Current situation on iPad:</p>
  
  <p><img src="https://i.stack.imgur.com/Pu9Wz.png" alt="enter image description here"></p>
  
  <p>As you can see, there's a big empty space above the "Settings" title. Thus what I want, is to shift the view controller up about 20 points, <strong>inside the popover</strong>:</p>
  
  <p><img src="https://i.stack.imgur.com/RCIFs.png" alt="enter image description here"></p>
  
  <p>The popover is instantiated as follows in the MainViewController:</p>
  
  <pre><code>        settingsPopoverController = [[UIPopoverController alloc] initWithContentViewController:popoverNavigationController];
          settingsPopoverController.popoverContentSize = CGSizeMake(320, 460);
          settingsPopoverController.delegate = self;
          popoverNavigationController.navigationBarHidden = YES;
  </code></pre>
  
  <p>In the SettingsViewController, I set the frame as follows:</p>
  
  <pre><code>- (void)viewDidLoad
  {
      self.contentSizeForViewInPopover = CGSizeMake(320, 460);
  }
  </code></pre>
  
  <p>And later in the SettingsViewController, I try to create an offset as follows:</p>
  
  <pre><code>- (void)viewWillLayoutSubviews
  {
      // shift it up
      CGRect frame = self.view.frame;
      frame.origin.y = -20;
      [self.view setFrame:frame];
  }
  </code></pre>
  
  <p>This does not shift the content up a bit. How to go about?</p>
  
  <p><em>To clarify: I want to move down the "viewport" that the popover shows.</em></p>