【iPhoneX适配】底部工具栏

This commit is contained in:
xuemh 2018-03-15 22:33:32 +08:00
parent 4286f754f2
commit 46bf2c8cc1
1 changed files with 2 additions and 5 deletions

View File

@ -60,11 +60,8 @@ extern BOOL launchedByNotification;
// Do any additional setup after loading the view.
//[self creatViewControllers];
//[self setUpSubNav];
UIView *backView = [[UIView alloc] initWithFrame:CGRectMake(0, 0,self.view.frame.size.width, self.tabBar.frame.size.height)];
// backView.backgroundColor = TABLE_BAR_COLOR;
backView.backgroundColor = [UIColor whiteColor];
[self.tabBar insertSubview:backView atIndex:0];
self.tabBar.opaque = YES;
self.tabBar.translucent = NO;
[[NIMSDK sharedSDK].systemNotificationManager addDelegate:self];
[[NIMSDK sharedSDK].conversationManager addDelegate:self];