I'm new to iOS and Swift and I have troubles figuring out how to navigate through views.
I'm trying to switch betweens views and being able to press back and next button as you wish without losing data (like textfields, spinner, etc.). I tried with "popToView" but as the name says, it will pop views which is not what I want.
What would be the best way to do such a thing?
The idea is being able to navigate through a form in multiple views. At the end, you have some kind of calculations with the values you filled. I want to be able to go back to previous views so I can change some fields. Once I did my modifications, I want to navigate to the final view again and see the new results.