I am trying to mimic the UINavigationController\'s new hidesBarsOnTap with a tab bar. I have seen many answers to this that either point to setting the hi
hidesBarsOnTap
hi
Swift 5
To hide
override func viewWillAppear(_ animated: Bool) { self.tabBarController?.tabBar.isHidden = true }
To show again
override func viewDidDisappear(_ animated: Bool) { self.tabBarController?.tabBar.isHidden = false }