From d56c8422138cd82d2ea9bed8e2f4b0bc7766be4b Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 02 三月 2021 15:38:32 +0800
Subject: [PATCH] 2021-03-02 1.最近新云端接口

---
 EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m b/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m
index dd8051f..3d9623a 100644
--- a/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m
+++ b/EZSDK/EZSDK/EZ/TableViewCells/DeviceListCell.m
@@ -35,12 +35,14 @@
     }
     
     self.nameLabel.text = [NSString stringWithFormat:@"%@",deviceInfo.deviceName];
-    [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:deviceInfo.deviceCover] placeholderImageScale:nil];
+    //    self.cameraImageView.contentMode =  UIViewContentModeScaleAspectFit;
+    [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:deviceInfo.deviceCover] placeholderImage:[UIImage imageNamed:@"device_default"]];
 //    [EZOPENSDK capturePicture:cameraInfo.deviceSerial channelNo:cameraInfo.channelNo completion:^(NSString *url, NSError *error) {
 //        if(!error){
 //            [self.cameraImageView sd_setImageWithURL:[NSURL URLWithString:url]];
 //        }
 //    }];
+//    [EZOPENSDK cap]
     
     self.messageButton.hidden = NO;
     self.settingButton.hidden = NO;

--
Gitblit v1.8.0