hide tab bar in view with push

前端 未结 7 1688
离开以前
离开以前 2021-02-03 22:51

I have a tabBar + NavigationViewController. The Tab bar has collection view with cells(Say view1) and with cells a push seag

相关标签:
7条回答
  • 2021-02-03 23:16

    In my case, I use hidesBottomBarWhenPushed before I push the destination view controller.

    func showSecondViewController() {
      let vc = SecondViewController()
      vc.hidesBottomBarWhenPushed = true
      self.navigationController?.pushViewController(vc, animated: true)
    }
    
    0 讨论(0)
提交回复
热议问题