From f8c8d2ffa36b9e3ca605519a59dd63a1bf5719fa Mon Sep 17 00:00:00 2001 From: ddisfriend Date: Tue, 9 Dec 2025 17:09:22 +0800 Subject: [PATCH] additional photo bug fixed --- OrderScheduling.xcodeproj/project.pbxproj | 6 +++--- .../ViewController/AdditionalPhotoController.swift | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OrderScheduling.xcodeproj/project.pbxproj b/OrderScheduling.xcodeproj/project.pbxproj index 1da9adb..4cdfbde 100644 --- a/OrderScheduling.xcodeproj/project.pbxproj +++ b/OrderScheduling.xcodeproj/project.pbxproj @@ -1337,7 +1337,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 4.0.6; + MARKETING_VERSION = 4.0.7; PRODUCT_BUNDLE_IDENTIFIER = com.sino.supplier; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1548,7 +1548,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 4.0.6; + MARKETING_VERSION = 4.0.7; PRODUCT_BUNDLE_IDENTIFIER = com.sino.supplier; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1603,7 +1603,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 4.0.6; + MARKETING_VERSION = 4.0.7; PRODUCT_BUNDLE_IDENTIFIER = com.sino.supplier; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; diff --git a/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift b/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift index 3116c9f..8d2f31e 100644 --- a/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift +++ b/OrderScheduling/ReviewFailed/ViewController/AdditionalPhotoController.swift @@ -236,8 +236,8 @@ extension AdditionalPhotoController : UICollectionViewDelegate, UICollectionView } // 非选择模式:沿用原预览逻辑 - let cell = self.collectionView(collectionView, cellForItemAt: indexPath) as? AdditionalPhotoCell - if let image = cell?.uploadImageView.image { + if let cell = collectionView.cellForItem(at: indexPath) as? AdditionalPhotoCell, + let image = cell.uploadImageView.image { let vc = ZLImagePreviewController.init(datas: [image as Any],showSelectBtn: false,showBottomView: false) vc.modalPresentationStyle = .fullScreen navigationController?.present(vc, animated: true)