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;