| | |
| | | |
| | | -(void)backAction{ |
| | | [self.navigationController popViewControllerAnimated:true]; |
| | | // [self dismissViewControllerAnimated:YES completion:NULL]; |
| | | // [self dismissViewControllerAnimated:YES completion:NULL]; |
| | | } |
| | | |
| | | - (UIButton *)moreButton{ |
| | |
| | | |
| | | - (void)initCentetView { |
| | | [self.view addSubview:self.centerView]; |
| | | [self.centerView addSubview:self.collectButton]; |
| | | // [self.centerView addSubview:self.collectButton]; |
| | | [self.centerView addSubview:self.homeView]; |
| | | [self.centerView addSubview:self.screenshotImgBtn]; |
| | | [self.centerView addSubview:self.screenshotTextBtn]; |
| | |
| | | UIAlertController *alertController = [UIAlertController alertControllerWithTitle:tipStr message:mes preferredStyle:UIAlertControllerStyleAlert]; |
| | | [alertController addAction:[UIAlertAction actionWithTitle:okStr style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) { |
| | | [self backAction]; |
| | | }]]; |
| | | }]]; |
| | | |
| | | [self presentViewController:alertController animated:YES completion:nil]; |
| | | [self presentViewController:alertController animated:YES completion:nil]; |
| | | } |
| | | |
| | | |
| | |
| | | [self speaker:nil]; |
| | | // [_mCallOrAccept setTitle:@"通话中..." forState:UIControlStateNormal]; |
| | | }else if([phoneEventStr isEqual:@"EVT_HangUp"]){ |
| | | |
| | | |
| | | // [CBToast showToastAction:endOfMonitoringStr]; |
| | | |
| | | // [CBToast showToastAction:endOfMonitoringStr]; |
| | | [self showUIAlertViewWithBack:endOfMonitoringStr]; |
| | | // [self backAction]; |
| | | |
| | | // [self backAction]; |
| | | |
| | | |
| | | |
| | | // [_mCallOrAccept setTitle:@"反呼" forState:UIControlStateNormal]; |