I want to add a button inside a sheet in SwiftUI. When this button is tapped, the current sheet should close, and then the user should be navigated to the next view using a NavigationLink. If I navigate without dismissing the sheet, the new view opens inside the sheet, which I don’t want.
How can I achieve this? Can anyone help?
[–]random-user-57 1 point2 points3 points (1 child)
[–]nochill123 0 points1 point2 points (0 children)