title: Missing navigation bar after navigating from search controller
body: <h1>Following scenario:</h1>
  <p>I have a master view with a navigation controller and table view. With a segue to the detail view. I added a search controller presented over the navigation bar analog to the <a href="https://developer.apple.com/library/ios/samplecode/UICatalog/Introduction/Intro.html" rel="nofollow noreferrer" title="Apple UICatalog">Apple UICatalog</a>. I added another segue from the search result controller to the detail view.</p>
  <p><img src="https://i.stack.imgur.com/byRE8.png" alt="enter image description here" /></p>
  <h1>Problem</h1>
  <p>When I select a row in the normale tableview the detail view contains a navigation bar and the behaviour is as expected.
  When I perform a search and select a row in the result search controller the navigation bar is missing in the presented detail view. I know that the result view controller has now navigation bar.</p>
  <h1>Question</h1>
  <p>What should I do to get the navigation bar from the standard navigation stack? I try to avoid to add the navigation bar manually to the detail view, because it is working when I came from the normale table view.</p>
  <h1>Update</h1>
  <p>I added an additional segue from the main table view to the search table view.</p>
  <p><img src="https://i.stack.imgur.com/MgTxq.png" alt="enter image description here" />
  When I invoke the search with: <code>showViewController(searchController, sender: tableView)</code> I get the navigation bar, but no search input. With <code>presentViewController(searchController, animated: true, completion: nil)</code> I get the search view, but the navigation bar is gone in the detail view.</p>