-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Description
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
}
This issue doesn't occur in Xcode 18 and earlier because the parent controller is not present at Presentation.swift L378.
Checklist
- I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
- If possible, I've reproduced the issue using the
mainbranch of this package. - This issue hasn't been addressed in an existing GitHub issue or discussion.
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
Metadata
Metadata
Assignees
Labels
No labels