From bdd19906dde32943399d1f8a19498b3668f57549 Mon Sep 17 00:00:00 2001 From: xuemh Date: Thu, 15 Mar 2018 22:58:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90iPhoneX=E9=80=82=E9=85=8D=E3=80=91?= =?UTF-8?q?=E2=80=98=E7=88=B1=E9=B1=BC=E7=9C=8B=E7=9C=8B=E2=80=99=E5=88=86?= =?UTF-8?q?=E9=A1=B5=E6=A0=87=E9=A2=98=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../IfishNewLiveList/LoveFishLiveListBaseViewController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Ifish/controllers/IfishTabControllers/探索/IfishLive/IfishNewLiveList/LoveFishLiveListBaseViewController.m b/Ifish/controllers/IfishTabControllers/探索/IfishLive/IfishNewLiveList/LoveFishLiveListBaseViewController.m index 8d62e26..aa64458 100644 --- a/Ifish/controllers/IfishTabControllers/探索/IfishLive/IfishNewLiveList/LoveFishLiveListBaseViewController.m +++ b/Ifish/controllers/IfishTabControllers/探索/IfishLive/IfishNewLiveList/LoveFishLiveListBaseViewController.m @@ -80,8 +80,9 @@ pageController.selectIndex = 0; //pageController.menuViewBottomSpace = 10; [self addChildViewController: pageController]; + CGFloat height = [UIApplication sharedApplication].statusBarFrame.size.height + 44; //看看在tab中时 - pageController.viewFrame = CGRectMake(0,64,self.view.frame.size.width, self.view.frame.size.height - 64) ; + pageController.viewFrame = CGRectMake(0,height,self.view.frame.size.width, self.view.frame.size.height - height) ; self.pageController = pageController; [self.view addSubview: pageController.view];