Description
In Xcode 26, when displaying a share sheet with this method, the parent controller persists at Presentation.swift L378, which causes it to be dismissed along with the share sheet.
present(item: $store.scope(state: \.destination?.activity, action: \.destination.activity)) { [weak self] store in
let activityViewController = UIActivityViewController(
activityItems: [store.withState(\.title), store.withState(\.url)],
applicationActivities: [SafariActivity()]
)
return activityViewController
}
Presentation.swift L378
This issue doesn't occur in Xcode 18 and earlier because the parent controller is not present at Presentation.swift L378.
Checklist
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
SwiftUI Navigation version information
No response
Destination operating system
iOS26
Xcode version information
Xcode26 bata3
Swift Compiler version information
Description
In Xcode 26, when displaying a share sheet with this method, the parent controller persists at Presentation.swift L378, which causes it to be dismissed along with the share sheet.
Presentation.swift L378
This issue doesn't occur in Xcode 18 and earlier because the parent controller is not present at Presentation.swift L378.
Checklist
mainbranch of this package.Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
SwiftUI Navigation version information
No response
Destination operating system
iOS26
Xcode version information
Xcode26 bata3
Swift Compiler version information