Commit 23d1b89d4389ce329d8c353cab481703191afc46

Authored by “张旭”
1 parent e7000181

上滑页设置tabbar高度为0

metaCode/Classes/Main/HomePage/Controller/AuthMainController/CNMetaCodeHomePageController.swift
... ... @@ -253,12 +253,13 @@ class CNMetaCodeHomePageController:CNLiveBaseViewController, NewPagedFlowViewDel
253 253  
254 254 switch vNumPage {
255 255 case .VNumPageMain://中间主页
256   - self.tabBarController?.tabBar.isHidden = false
  256 + self.tabBarController?.tabBar.isHidden = false
257 257 case .VNumPageUp://上滑页
258   - self.tabBarController?.tabBar.isHidden = true
  258 + self.tabBarController?.tabBar.isHidden = true
  259 + self.tabBarController?.tabBar.height = 0
259 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  
... ...