【iPhoneX适配】‘爱鱼看看’分页标题栏
This commit is contained in:
parent
3aff39059f
commit
bdd19906dd
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue