I put together a solution to enable proper snapshot recording of views in Swift packages:
https://github.com/teufelaudio/HostedSnapshotHelper
This covers sheets, alerts, and iOS 26 glass effects such as toggles, which look very odd in snapshots of views taken in a Swift package.
It's still a work in progress, but I welcome any feedback.




