Post #2883422
2026-05-15 07:00 UTC
@alpennec@iosdev.space thanks, I appreciate your input.
For anyone not being able to(or wanting to …) access X–here's the link to a suggestion made there: https://livsycode.com/swiftui/intercepting-swiftui-sheet-dismissal/
I also wonder if @danielsaidi@mastodon.social has us covered with his package https://github.com/danielsaidi/PresentationKit …
Replies (1)
-
@danielsaidi@mastodon.social 2026-05-15 07:05
@appfrosch@iosdev.space @alpennec@iosdev.space I think using interactive dismissal makes the most sense, but I too would love to have a way to detect when the user tries to dismiss the sheet. I have no such support in that package, and don't know of any SwiftUI native ways of doing so.