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