title: UISplitViewController - Bottom Grey Bar
body: <p>I know this is a big debated topic, but I couldn't find a successful answer to my problem. Since I've tried most of all of the solutions people posted.</p>
  <p>I have a TabBar, that as a button &quot;Account&quot;. Here the UISplitViewController, starts is job. I put it, as double column, left column the &quot;Account&quot; Tab menu, and the right column, the selected column, opened. My problem is, which is the most common, When I open on iPAD, it all works great. But When on iPhone (compact) it has the Grey Bar at the bottom of the screen...</p>
  <p>My Account Menu code is:</p>
  <pre><code>let splitVC = BaseSplitViewController()
  splitVC.extendedLayoutIncludesOpaqueBars = true
  
  let secondaryVC = UINavigationController(rootViewController: UIViewController())
  secondaryVC.view.backgroundColor = .background
  
  let accountViewController = AccountViewController(viewModel: AccountViewModel.Factory().create())
  let navController = UINavigationController(rootViewController: accountViewController)
  splitVC.tabBarItem = UITabBarItem(
    title: TabBarItemTag.title(for: TabBarItemTag.account.rawValue),
    image: UIImage(named: &quot;AccountTab&quot;),
    tag: TabBarItemTag.account.rawValue)
  accountViewController.title = TabBarItemTag.title(for: TabBarItemTag.account.rawValue)
  
  
  splitVC.viewControllers = [
    navController,
    secondaryVC
  ]
  
  return splitVC
  </code></pre>
  <p>And My OnClick code, to open the selected column is:</p>
  <pre><code>let viewController = MoreViewController()
  
        // configure navController
        let navigationController = UINavigationController(rootViewController: viewController)
        navigationController.modalPresentationStyle = .formSheetPadFullScreenPhone
        if #available(iOS 13.0, *) {
          navigationController.isModalInPresentation = true // available in IOS13
        }
  
       self.splitViewController?.showDetailViewController(navigationController, sender: &quot;&quot;)
  </code></pre>
  <p>Hope someone can help me, since I'm on this for quite some days.
  I have tried OpaqueBars, TraitCollection and didn't have any fix.</p>
  <p>Thanks! Any question feel free to ask.</p>