Commit 23d1b89d4389ce329d8c353cab481703191afc46
1 parent
e7000181
上滑页设置tabbar高度为0
Showing
1 changed file
with
5 additions
and
4 deletions
metaCode/Classes/Main/HomePage/Controller/AuthMainController/CNMetaCodeHomePageController.swift
| @@ -253,12 +253,13 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel | @@ -253,12 +253,13 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel | ||
| 253 | 253 | ||
| 254 | switch vNumPage { | 254 | switch vNumPage { |
| 255 | case .VNumPageMain://中间主页 | 255 | case .VNumPageMain://中间主页 |
| 256 | - self.tabBarController?.tabBar.isHidden = false | 256 | + self.tabBarController?.tabBar.isHidden = false |
| 257 | case .VNumPageUp://上滑页 | 257 | case .VNumPageUp://上滑页 |
| 258 | - self.tabBarController?.tabBar.isHidden = true | 258 | + self.tabBarController?.tabBar.isHidden = true |
| 259 | + self.tabBarController?.tabBar.height = 0 | ||
| 259 | case .VNumPageDown://下滑页 | 260 | case .VNumPageDown://下滑页 |
| 260 | - self.tabBarController?.tabBar.isHidden = true | ||
| 261 | - self.tabBarController?.tabBar.height = 0 | 261 | + self.tabBarController?.tabBar.isHidden = true |
| 262 | + self.tabBarController?.tabBar.height = 0 | ||
| 262 | } | 263 | } |
| 263 | } | 264 | } |
| 264 | 265 |