From edc0f0a0439f9e5a11593e21a4779fa6dbcbe49d Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期五, 06 八月 2021 11:23:49 +0800 Subject: [PATCH] 2021-08-06 1.更新 --- Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/TableViewCells/DeviceListCell.m | 2 ++ EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/TableViewCells/DeviceListCell.m b/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/TableViewCells/DeviceListCell.m index 3c1cc2e..b9efb1f 100644 --- a/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/TableViewCells/DeviceListCell.m +++ b/Demo/EZOpensdk_iOS_4.15.1_build20201104/Demo/EZOpenSDKDemo/TableViewCells/DeviceListCell.m @@ -37,6 +37,8 @@ self.nameLabel.text = [NSString stringWithFormat:@"%@",deviceInfo.deviceName]; // self.cameraImageView.contentMode = UIViewContentModeScaleAspectFill; [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:@""] placeholderImage:[UIImage imageNamed:@"device_bg"]]; +// [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:deviceInfo.deviceCover] placeholderImage:[UIImage imageNamed:@"device_bg"]]; + // [EZOPENSDK capturePicture:cameraInfo.deviceSerial channelNo:cameraInfo.channelNo completion:^(NSString *url, NSError *error) { // if(!error){ // [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:url]]; diff --git a/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m b/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m index 3c1cc2e..1d98198 100644 --- a/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m +++ b/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m @@ -37,6 +37,8 @@ self.nameLabel.text = [NSString stringWithFormat:@"%@",deviceInfo.deviceName]; // self.cameraImageView.contentMode = UIViewContentModeScaleAspectFill; [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:@""] placeholderImage:[UIImage imageNamed:@"device_bg"]]; + // [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:deviceInfo.deviceCover] placeholderImage:[UIImage imageNamed:@"device_bg"]]; + // [EZOPENSDK capturePicture:cameraInfo.deviceSerial channelNo:cameraInfo.channelNo completion:^(NSString *url, NSError *error) { // if(!error){ // [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:url]]; -- Gitblit v1.8.0