| | |
| | | |
| | | - (void)viewDidAppear:(BOOL)animated { |
| | | [super viewDidAppear:animated]; |
| | | self.navigationController.navigationBar.hidden = NO;//2021-02-01 |
| | | self.ptzViewContraint.constant = self.bottomView.frame.size.height; |
| | | self.talkViewContraint.constant = self.ptzViewContraint.constant; |
| | | } |
| | | |
| | | - (void)viewWillDisappear:(BOOL)animated { |
| | | // self.navigationController.navigationBarHidden = YES;//2021-02-01 添加隐藏navigationBarHidden |
| | | [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(hideQualityView) object:nil]; |
| | | //结束本地录像 |
| | | if(self.localRecordButton.selected) |
| | |
| | | |
| | | if (error) |
| | | { |
| | | [self.view makeToast:[NSString stringWithFormat:@"%@", error.description]]; |
| | | [self.view makeToast:NSLocalizedString(@"setting_opration_fail", @"操作失败")]; |
| | | // [self.view makeToast:[NSString stringWithFormat:@"%@", error.description]]; |
| | | return; |
| | | } |
| | | [weakSelf.player stopRealPlay]; |