title: Navigation bar position
body: <p><a href="https://i.stack.imgur.com/8J5R3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8J5R3.png" alt="enter image description here"></a></p>
  
  <p>I connected navigation bar to my view. At view define method:</p>
  
  <pre><code>class SettingsViewController: UIViewController, UINavigationBarDelegate {
  
      func positionForBar(bar: UIBarPositioning) -&gt; UIBarPosition {
          return UIBarPosition.TopAttached
      }
  
  }
  </code></pre>
  
  <p>But position still wrong.</p>