标签:sel when bottom swift 方法 pre ted nim nil
//注意:在push后设置self.hidesBottomBarWhenPushed=NO;
//这样back回来的时候,tabBar会恢复正常显示。
let detailCtrl = ScanViewController(nibName: "ScanViewController", bundle: nil);
//detailCtrl.hidesBottomBarWhenPushed = true
self.hidesBottomBarWhenPushed = true
self.navigationController?.pushViewController(detailCtrl, animated: true)
self.hidesBottomBarWhenPushed = false
标签:sel when bottom swift 方法 pre ted nim nil
原文地址:http://www.cnblogs.com/qiyazong/p/7278980.html