title: Missing Title Bar in Detail View of UISplitViewController
body: <p>I have a <code>UISplitViewController</code> embedded in a container view (because it's not at the root of my app), the mechanics of which are working nicely except for one issue: <strong>The navigation bar for the detail view is missing on the iPad.</strong></p>
  
  <p>Initial setup is essentially as follows:</p>
  
  <ol>
  <li>In IB, drag a Split View Controller onto the storyboard, which creates a Split View Controller, a Navigation Controller, a Table View Controller (Master), a basic View Controller (Detail), and the segues connecting them.</li>
  <li>Add a regular View Controller with a Container View. Create an Embed Segue from the Container View to the Split View Controller.</li>
  <li>Add another segue from the Prototype Cell to the Detail View Controller, supported by the following code in the Master Controller:</li>
  </ol>
  
  <p><b></b></p>
  
  <pre><code>override func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
      self.performSegue(withIdentifier: "showDetail", sender: nil)
  }
  
  override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
      if segue.identifier == "showDetail" {
          let destinationViewController = segue.destination as! DetailViewController
          let path = self.tableView.indexPathForSelectedRow! as  NSIndexPath
          destinationViewController.selectedTrainingId = (self.itemList[path.row] as! MyListItem).id
      }
  }
  </code></pre>
  
  <ol start="4">
  <li>Add the data.</li>
  </ol>
  
  <p>Loading the items into master view and selecting the detail are working.</p>
  
  <hr>
  
  <p>Here is what it looks like in IB (to save space I show the iPhone layout but the relationships should be visible anyhow):</p>
  
  <p><a href="https://i.stack.imgur.com/FVGQq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FVGQq.png" alt="enter image description here"></a></p>
  
  <p>There are few answers in SO dealing with similar problems. Closest matches suggest adding an own navigation controller for the detail view. I did not understand why that would be necessary because the fact that it works as intended on the iPhone I believe shows that the detail view uses the same navigation controller as the master (root) view. But I gave it a try. Result is, as I suspected, that initially a navigation bar is shown. but as soon as an item is selected the bar disappears. Below is the setup.</p>
  
  <p><a href="https://i.stack.imgur.com/5ariU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/5ariU.png" alt="enter image description here"></a></p>
  
  <p>In many apps (Messaging, Email, Skype, ...) you can see separate top bars for master and detail views. While technically my app does not absolutely need both, it is not really pretty especially with a colored bar. So, the question is: <strong>How can I get the Navigation Bar for the Detail View</strong>.</p>