title: iOS Swift navigation title is not showing up
body: <p>I have a tabBarController under which I loaded some navigation controller. But the title of my navigation controller is not showing up. Even I noticed if I add buttons in my left and right navbar item, it doesn't show up as well.</p>
  
  <p><strong>My Tabbar Setup:</strong></p>
  
  <pre class="lang-swift prettyprint-override"><code>let quranNavigationController = UINavigationController()
  
  //        quranNavigationController.navigationBar.titleTextAttributes = textAttributes
  //        quranNavigationController.navigationBar.tintColor = Colors.primaryTextColor
  //        quranNavigationController.navigationBar.barTintColor = Colors.navigationBackgroundPrimary
  
  let quranSnackBarController = AppSnackbarController(rootViewController: quranNavigationController)
  quranSnackBarController.shouldExtend = false
  quranSnackBarController.tabBarItem = UITabBarItem(title: "Books".localized(), image: UIImage(named: "quran"), tag: 1);
  
  let menuViewController = TestViewController()
  let quranController = QuranPrintController()
  let sideMenuController = SideMenuController(contentViewController: quranController, menuViewController: menuViewController)
  quranNavigationController.viewControllers = [sideMenuController]
  
  tabBarController.viewControllers = [homeNavigationController2, quranSnackBarController, prayerNavigationController, duaSnackBarController]
  window.rootViewController = tabBarController
  </code></pre>
  
  <p>QuranPrintController:</p>
  
  <pre><code>class QuranPrintController: UIViewController {
  
      override func viewDidLoad() {
          super.viewDidLoad()
  
          self.title = "Quran"
          self.navigationItem.title = "Prayer Times"
      }
  
  }
  </code></pre>
  
  <p>This is what my output is. No title is shown. I tried adding buttons on the left and right sides. But didn't work as well</p>
  
  <p><a href="https://i.stack.imgur.com/7GXCa.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7GXCa.jpg" alt="Output"></a></p>