Set `hidesBottomBarWhenPushed = true` in the controller that you want to hide.
For hide, all your controllers put into `prepare for segue`
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
segue.destination.hidesBottomBarWhenPushed = true
}
Set `true` the property `hidesBottomBarWhenPushed` in the controller to hide.
For hide, all your controllers put into `prepare for segue`
override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
segue.destination.hidesBottomBarWhenPushed = true
}