From 0de4cf306d8e13fd57b3e04bfb81362a10f12a4d Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期一, 10 七月 2023 16:10:53 +0800 Subject: [PATCH] feature UI补全 --- EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m b/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m index 9db3569..fc46471 100644 --- a/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m +++ b/EZSDK/EZSDK/EZ/UIViewControllers/EZLivePlayViewController.m @@ -149,6 +149,7 @@ //鍒濆鍖栫浉鍏虫暟鎹� [self initialData]; + [self.navigationController.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:HDLEZHEXCOLOR(0x1B2D4D, 1.),NSFontAttributeName:[UIFont systemFontOfSize:18]}]; // self.talkButton.enabled = self.deviceInfo.isSupportTalk; // self.controlButton.enabled = self.deviceInfo.isSupportPTZ; @@ -1728,13 +1729,11 @@ } break; case HDLEZVideoFullSceneOperationOfSound: { // 寮�鍚煶閲� - [_player openSound]; - NSLog(@"#######寮�鍚煶閲�"); + [self voiceButtonClicked:self.voiceButton]; } break; case HDLEZVideoFullSceneOperationOfSoundOff: { // 闈欓煶 - [_player closeSound]; - NSLog(@"#######闈欓煶"); + [self voiceButtonClicked:self.voiceButton]; } break; case HDLEZVideoFullSceneOperationOfSmooth: { // 娴佺晠 @@ -1758,6 +1757,12 @@ } } +- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event { + if (!self.fullSceneToolView.hidden) { + [self.fullSceneToolView qualityStatusChanged:YES]; + } +} + #pragma Setter - (void)setIsShowAlert:(BOOL)isShowAlert { _isShowAlert = isShowAlert; -- Gitblit v1.8.0