1. 程式人生 > >swift hidesBottomBarWhenPushed 設置界面

swift hidesBottomBarWhenPushed 設置界面

animate ani als com brush sel con when NPU

1.
一級界面(rootViewController)

        self.hidesBottomBarWhenPushed = true

            self.navigationController?.pushViewController(JYMyCommissionController(), animated: true)
        self.hidesBottomBarWhenPushed = false

2.

二級界面 
        self.hidesBottomBarWhenPushed = true

            self.navigationController?.pushViewController(JYMyCommissionController(), animated: true)
之後 所有子頁面不需要設置了

  

swift hidesBottomBarWhenPushed 設置界面