diff --git a/Ifish/controllers/BaseVIewContorller/BaseVIewContorller.m b/Ifish/controllers/BaseVIewContorller/BaseVIewContorller.m index 9a1575e..ada013a 100644 --- a/Ifish/controllers/BaseVIewContorller/BaseVIewContorller.m +++ b/Ifish/controllers/BaseVIewContorller/BaseVIewContorller.m @@ -54,7 +54,6 @@ _bakbutton.frame = CGRectMake(0,0,48,44); [_bakbutton setImage:[UIImage imageNamed:@"back_btn"] forState:UIControlStateNormal]; _bakbutton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft; - _bakbutton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft; [_bakbutton addTarget: self action: @selector(goBackAction) forControlEvents: UIControlEventTouchUpInside]; [_bakbutton setContentEdgeInsets:UIEdgeInsetsMake(0, 10, 0, -10)]; _back=[[UIBarButtonItem alloc] initWithCustomView:_bakbutton]; diff --git a/Ifish/controllers/IfishYooseeFile/IfishYooseeControlller/IfishP2PMonitorController.m b/Ifish/controllers/IfishYooseeFile/IfishYooseeControlller/IfishP2PMonitorController.m index 2a89c3d..79d0e32 100644 --- a/Ifish/controllers/IfishYooseeFile/IfishYooseeControlller/IfishP2PMonitorController.m +++ b/Ifish/controllers/IfishYooseeFile/IfishYooseeControlller/IfishP2PMonitorController.m @@ -1244,7 +1244,8 @@ [invocation invoke]; - self.navigationController.navigationBar.hidden = YES; + self.navigationController.navigationBar.hidden = YES; + self.navigationController.navigationBar.translucent = YES; //设置默认全屏 BOOL is16B9 = [[P2PClient sharedClient] is16B9]; if (!is16B9) { @@ -3738,7 +3739,7 @@ [[UIApplication sharedApplication] setStatusBarHidden:NO]; self.navigationController.navigationBar.hidden = NO; - + self.navigationController.navigationBar.translucent = NO; //隐藏横屏里的控件 [self.controllerRightBg setHidden:YES];