I started with swiftui recently and im just trying things and i cant seem to find a solution but i need to navigate to another screen but only after choosing yes in an alert that shows up.
Is it even possible in swiftui to navigate from an alert to another screen ?
I tried using navigationView (even tho is deprecated), and using navigationStack, all the different ways to use the navigationlink and nothing worked.
David Fernandes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.