title: How to add constraints to TableView on TableViewController?
body: <p>I have <code>TabBar</code>, <code>SearchController</code> and <code>TableView</code>...</p>
  
  <p>To fix the problem with the black screen, I added following string to my TableViewController that places <code>SearchController</code> on itself:</p>
  
  <pre><code>self.definesPresentationContext = true
  </code></pre>
  
  <p>But, I receive next problem - after I move to the next controller and back to the TableViewController table is placed below the navigation bar.</p>
  
  <p>How can I fix that?</p>
  
  <p><a href="https://i.stack.imgur.com/KuFjG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KuFjG.png" alt="enter image description here"></a></p>