From 94794249848485c330f2bd2d0dc91fb6e35a53b4 Mon Sep 17 00:00:00 2001 From: perlin <18346667746@163.com> Date: Thu, 1 Sep 2022 17:24:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dgif=E5=9B=BE=E7=89=87?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gif图片禁用选择点击交互 --- .../TZImagePickerController/TZPhotoPickerController.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m b/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m index bfdc65a3..ae197124 100755 --- a/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m +++ b/TZImagePickerController/TZImagePickerController/TZPhotoPickerController.m @@ -623,8 +623,10 @@ - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cell if (notSelectable && tzImagePickerVc.showPhotoCannotSelectLayer && !model.isSelected) { cell.cannotSelectLayerButton.backgroundColor = tzImagePickerVc.cannotSelectLayerColor; cell.cannotSelectLayerButton.hidden = NO; + cell.showSelectBtn = NO; } else { cell.cannotSelectLayerButton.hidden = YES; + cell.showSelectBtn = tzImagePickerVc.showSelectBtn; } __weak typeof(cell) weakCell = cell;