Commit e70001818c37069d0f9857ca85752366e26185e9
1 parent
0c2a3699
回到首页按钮有时点击不了 , tabbar隐藏后默认占空间导致
Showing
2 changed files
with
3 additions
and
0 deletions
metaCode/Classes/Main/HomePage/Controller/AuthMainController/CNMetaCodeHomePageController.swift
| @@ -258,6 +258,7 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel | @@ -258,6 +258,7 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel | ||
| 258 | self.tabBarController?.tabBar.isHidden = true | 258 | self.tabBarController?.tabBar.isHidden = true |
| 259 | case .VNumPageDown://下滑页 | 259 | case .VNumPageDown://下滑页 |
| 260 | self.tabBarController?.tabBar.isHidden = true | 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,6 +151,8 @@ class CNDownSlideView:UIView{ | ||
| 151 | backBtn.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 8) | 151 | backBtn.imageEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 8) |
| 152 | bottomView.addSubview(backBtn) | 152 | bottomView.addSubview(backBtn) |
| 153 | bottomView.isUserInteractionEnabled = true | 153 | bottomView.isUserInteractionEnabled = true |
| 154 | + let tap = UITapGestureRecognizer.init(target: self, action: #selector(backBtnAction)) | ||
| 155 | + bottomView.addGestureRecognizer(tap) | ||
| 154 | return bottomView | 156 | return bottomView |
| 155 | }() | 157 | }() |
| 156 | 158 |