how to hide bottom bar in swift 5 code example Example: hide bottom tab bar swift self.tabBarController?.tabBar.isHidden = true