title: UIScrollView in NavigationController ignores top layout guide
body: <p>I've seen similar questions about custom transitions(<a href="https://stackoverflow.com/questions/19789205/ios7-custom-viewcontroller-transition-and-top-layout-guide">iOS7 Custom ViewController transition and Top Layout Guide</a> and <a href="https://stackoverflow.com/questions/20312765/navigation-controller-top-layout-guide-not-honored-with-custom-transition">Navigation controller top layout guide not honored with custom transition</a>), but I have problem even with regular push. I'm using latest Xcode available now (Version 5.1.1 (5B1008)).</p>
  
  <p>Here is my storyboard:
  <img src="https://i.stack.imgur.com/rgmoI.png" alt="storyboard">
  Problem occurs in 3rd VC</p>
  
  <p>Here is 3rd VC settings:
  <img src="https://i.stack.imgur.com/xZrU8.png" alt="enter image description here"></p>
  
  <p>My 3rd controller's layout is follows:</p>
  
  <pre><code>UIView
   UIScrollView
    InnerUIView
      Other views
  </code></pre>
  
  <p>I've tried two different ways to create a layout:</p>
  
  <p><strong>Ignore top layout guide (it has y = 64 because of nav bar)</strong></p>
  
  <p>I pinned scrollview's top to container (ignoring topLayoutGuide), manually set height of inner view and pinned its top to scrollView. It gave me the following result:
  <img src="https://i.stack.imgur.com/L1y8D.png" alt="enter image description here">  </p>
  
  <p>Looks fine, but why do I need top layout guide then?</p>
  
  <p><strong>Use topLayout guide</strong></p>
  
  <p>ScrollView's top is pinned to topLayoutGuide. 
  <img src="https://i.stack.imgur.com/XiXMB.png" alt="enter image description here"></p>
  
  <p>As you can see, top button moved down and view looks strange.</p>
  
  <p>What is the right way of creating such layouts?</p>