I am trying to figure out if there is a way to open a sheet with the new NavigationStack in iOS 16, but can't seem to find a way.
So of cause, it's possible to open a sheet using:
.sheet(isPresented: $isShowing)
But with the new NavigationStack you have an array of a type which you present with:
.navigationDestination(for: SomeType.self, destination: { route in
And it would be awesome if I could somehow define that when a specific destination is presented it opens as a sheet instead of navigating with a modal.
Does anyone know if this is possible to achieve? :)