Commit e70001818c37069d0f9857ca85752366e26185e9

Authored by “张旭”
1 parent 0c2a3699

回到首页按钮有时点击不了 , tabbar隐藏后默认占空间导致

metaCode/Classes/Main/HomePage/Controller/AuthMainController/CNMetaCodeHomePageController.swift
... ... @@ -258,6 +258,7 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel
258 258 self.tabBarController?.tabBar.isHidden = true
259 259 case .VNumPageDown://下滑页
260 260 self.tabBarController?.tabBar.isHidden = true
  261 + self.tabBarController?.tabBar.height = 0
261 262 }
262 263 }
263 264  
... ...
metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNDownSlideView.swift
... ... @@ -151,6 +151,8 @@ class CNDownSlideView:UIView{
151 151 backBtn.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 8)
152 152 bottomView.addSubview(backBtn)
153 153 bottomView.isUserInteractionEnabled = true
  154 + let tap = UITapGestureRecognizer.init(target: self, action: #selector(backBtnAction))
  155 + bottomView.addGestureRecognizer(tap)
154 156 return bottomView
155 157 }()
156 158  
... ...