From 3e4be5ed4d2c0395dd60e392baf86c59762059b1 Mon Sep 17 00:00:00 2001
From: Davin <591807572@qq.com>
Date: 星期五, 30 六月 2023 10:14:50 +0800
Subject: [PATCH] feature 猫眼全屏布局调整 && UI细节适配
---
EZSDK/EZSDK/EZSDK.m | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/EZSDK/EZSDK/EZSDK.m b/EZSDK/EZSDK/EZSDK.m
index ae54994..4300cc7 100644
--- a/EZSDK/EZSDK/EZSDK.m
+++ b/EZSDK/EZSDK/EZSDK.m
@@ -202,8 +202,18 @@
// rootViewController.cameraIndex=0;
[[self getCurrentVC].navigationBar setHidden:NO];
[[self getCurrentVC] pushViewController:rootViewController animated:YES];
-
-
+}
+
+- (void)Play:(EZDeviceInfo*)deviceInfo showCallout:(BOOL)isShow {
+ [GlobalKit shareKit].deviceType=HDLEZDeviceType_Default;
+ UIStoryboard *addDeviceStoryBoard = [UIStoryboard storyboardWithName:@"EZMain" bundle:nil];
+ EZLivePlayViewController *rootViewController = [addDeviceStoryBoard instantiateViewControllerWithIdentifier:@"EZLivePlayViewController"];
+ rootViewController.isShowAlert = isShow;
+ rootViewController.deviceInfo=(EZDeviceInfo *)deviceInfo;
+ NSLog(@"play--iphone--deviceName -%@",rootViewController.deviceInfo.deviceName);
+
+ [[self getCurrentVC].navigationBar setHidden:NO];
+ [[self getCurrentVC] pushViewController:rootViewController animated:YES];
}
/// 鎸囧畾搴忓垪鍙锋挱鏀�
@@ -237,6 +247,7 @@
EZLivePlayViewController *vc = [ezMainStoryBoard instantiateViewControllerWithIdentifier:@"EZLivePlayViewController"];
vc.deviceId=deviceId;
vc.deviceSerial=deviceSerial;
+ vc.isVideoDoorLock = [deviceType isEqualToString:HDLEZ_DOOR_SPK];
[[self getCurrentVC] setNavigationBarHidden:NO];
[[self getCurrentVC].navigationBar setHidden:NO];
[[self getCurrentVC] pushViewController:vc animated:YES];
--
Gitblit v1.8.0