title: IOS7 : UIScrollView offset in UINavigationController
body: <p>I'm currently migrating my app on ios 7 and I've been stuck for hours on the new navigationcontroller/bar management.</p>
  
  <p>Before, when we had a navigation controller, we had a snippet like this :</p>
  
  <pre><code>UINavigationController *navController = [[UINavigationController alloc]initWithRootViewController:[[MainViewController alloc]init]];
  </code></pre>
  
  <p>In interface builder, we had the choice to set an existing navigationbar for the view and everything match the content of the real view.</p>
  
  <p>OK so now, i have no clue of how to design properly with interface builder.
  I still have my snippet to initialize my navcontroller. However in the interface builder for my MainViewController if I set a status bar to translucent or opaque navigation bar, i have an offset of 44px at the top (see below). </p>
  
  <p><br/>
  Interface Builder_________________________And the result</p>
  
  <p><img src="https://i.stack.imgur.com/JODqs.png" width="300" height="500" />
  <img src="https://i.stack.imgur.com/AJjtd.png" width="300" height="525" /></p>
  
  <p><br/></p>
  
  <p>Now, if i set status bar to none, there is no offset at top but since the view on simulator is smaller because of navigation bar the bottom of the view in interface builder is cut off.</p>
  
  <p>Interface Builder_________________________And the result</p>
  
  <p><img src="https://i.stack.imgur.com/RIhjR.png" width="300" height="500" />
  <img src="https://i.stack.imgur.com/PC96b.png" width="300" height="540" /></p>
  
  <p>I guess i'm really missing something here but i can't find any topic or apple info in iOS7 Transitions Guide about that. </p>
  
  <p>Thanks for your help</p>
  
  <p><br/></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>As we can see in the pictures, the first child of the view is a UIScrollView which contains both labels, the problem does not appear when there is no scrollview. It also appears if it's a UITableView.
  If a label is outside the UIScrollView, there is no offset to that label.</p>