Replies: 1 comment 1 reply
-
Hi @JT501, I am not able to reproduce this as far as I can tell. This is what I see when I run your app: Screen.Recording.2025-01-14.at.9.10.33.AM.movIs there anything additional that needs to be done to reproduce? Since this doesn't seem to be an issue with the library I am going to convert it to a discussion. Please feel free to continue the conversation over there, and if it does end up being a bug in the library I will move it back. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I am developing a feature to download some files and share with others.
I have to show an alert view to notice user the download progress.
When the download complete, it will automatically dismiss the alert and show the share activity view.
However, when I change the destination state after the download completed,
it will dismiss the view controller instead of presenting the share activity view.
The more weird thing is that it seems only happened when presenting
UIActivityController
,I got not problems when presenting normal view controller or alert view controller.
I found out a workaround by adding a short buffer time between the destination state change.
I have made a simple implementation below that showcase the weird behavior.
Checklist
main
branch of this package.Expected behavior
The alert will be dismissed after the async work and then present the
UIActivityController
.Actual behavior
The alert is dismissed together with the parent view controller.
Steps to reproduce
SwiftUI Navigation version information
2.2.3
Destination operating system
iOS 18
Xcode version information
16.2
Swift Compiler version information
Beta Was this translation helpful? Give feedback.
All reactions