Skip to content

Ios27 fix - #4192

Merged
marinofaggiana merged 3 commits into
masterfrom
ios27-fix
Jul 18, 2026
Merged

Ios27 fix#4192
marinofaggiana merged 3 commits into
masterfrom
ios27-fix

Conversation

@marinofaggiana

@marinofaggiana marinofaggiana commented Jul 17, 2026

Copy link
Copy Markdown
Member

Some fix encountered in iOS 27 with Xcode 27 beta

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR appears to address behavior changes encountered on iOS 27 by adjusting search controller dismissal handling and by modifying a couple of async callback capture patterns in viewer/media code. It also includes a project build-number bump and a minor whitespace cleanup.

Changes:

  • Add willDismissSearchController(_:) handling to reset search UI/state when dismissing search.
  • Update async completion closures in media viewer/media grid code (currently removing [weak self] in two places).
  • Bump CURRENT_PROJECT_VERSION for the app target build settings (1 → 2).

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
Nextcloud.xcodeproj/project.pbxproj Updates build setting CURRENT_PROJECT_VERSION (build number).
iOSClient/Viewer/NCViewerMedia/Views/NCMediaViewerFloatingTitleView.swift Removes trailing whitespace/newline at EOF.
iOSClient/Viewer/NCViewerMedia/NCMediaViewerHostingController.swift Adjusts EXIF fetch completion handling used to present the detail sheet.
iOSClient/Media/NCMedia+CollectionViewDataSource.swift Adjusts transfer operation closure used to download/load previews for media cells.
iOSClient/Main/Collection Common/NCCollectionViewCommon.swift Adds search dismissal handling and reorders setSearchBarLoading.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +375 to 379
NCUtility().getExif(metadata: metadata) { exif in
Task { @MainActor in
guard let self else {
return
}

self.presentDetailView(
metadata: metadata,
index: index,
Comment on lines 64 to 70
await NCTransferCoordinator.shared.start(
identifier: ocId,
priority: .visible
) { [weak self] in
guard let self,
let metadata = await NCManageDatabase.shared.getMetadataFromOcIdAsync(ocId) else {
) {
guard let metadata = await NCManageDatabase.shared.getMetadataFromOcIdAsync(ocId) else {
return
}
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 2;
@marinofaggiana
marinofaggiana merged commit be8621c into master Jul 18, 2026
4 checks passed
@marinofaggiana
marinofaggiana deleted the ios27-fix branch July 18, 2026 05:50
@marinofaggiana marinofaggiana self-assigned this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants