Answers for "how to hide bottom bar when present view controler in swift 5"

3

swift hide navigation bar

override func viewWillAppear(_ animated: Bool) {
    super.viewWillAppear(animated)
    navigationController?.setNavigationBarHidden(true, animated: animated)
}

override func viewWillDisappear(_ animated: Bool) {
    super.viewWillDisappear(animated)
    navigationController?.setNavigationBarHidden(false, animated: animated)
}
Posted by: Guest on June-15-2020
0

hide bottom tab bar swift

self.tabBarController?.tabBar.isHidden = true
Posted by: Guest on April-08-2020

Code answers related to "how to hide bottom bar when present view controler in swift 5"

Code answers related to "Swift"

Browse Popular Code Answers by Language