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