JLChen
2021-03-02 d56c8422138cd82d2ea9bed8e2f4b0bc7766be4b
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;