title: View Controller not showing properly
body: <p>I have 4 view controllers of which 3 are perfectly working.
  All of them have an own .swift file and are linked using a storyboard.
  The last view controller doesn't show up properly though there is nothing that could possibly prevent it from doing so.</p>
  
  <p>Here is an extract of the file that calls the last view controller:</p>
  
  <pre><code>func showBook()
  {
      self.presentViewController(BookViewController(), animated: true, completion: nil)
  }
  </code></pre>
  
  <p>Here is the file that is called:</p>
  
  <pre><code>import UIKit
  
  class BookViewController: UIViewController {
  
      override func viewDidLoad() {
          super.viewDidLoad()
          print("BookViewController")
      }
  
  }
  </code></pre>
  
  <p>The code doesn't throw any error, prints "BookViewController" and if I set the background color of the view programmatically, it works just fine. But it doesn't show the content set in the storyboard.</p>
  
  <p>Here is a screenshot of my storyboard (only the relevant part):</p>
  
  <p><a href="https://i.stack.imgur.com/saBLG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/saBLG.png" alt=""></a></p>
  
  <p>Note: All the other view controllers are not shown programmatically but using a "present modally" - segue. When I try and use a "present modally" - segue with the last view controller, it also works fine</p>