title: why UIScrollView is leaving space from top in ios 6 and ios 7
body: <p><img src="https://i.stack.imgur.com/3qzhU.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/wcTf5.png" alt="enter image description here"></p>
  
  <p>I have turned off Autolayout and viewcontroller is embedded in navigation controller.
  I am using Xcode 5, Storyboard.</p>
  
  <p>I don't understand why is it leaving space from top.
  Actually in storyboard i have put my label exactly below navigation bar.
  But when i run it on simulator then it leaves space from top.</p>
  
  <p>One of the hacky way to resolve this</p>
  
  <pre><code>-(void)viewWillLayoutSubviews
  {
     self.scrollViewMain.frame = CGRectMake(0, -70, 320, 800);
  
     self.scrollViewMain.contentSize = CGSizeMake(320, 800);
  }
  </code></pre>
  
  <p><strong>But am i missing something very simple approach.</strong></p>