How do I make a button add one view at a time?

I'm practicing creating an app that has 3 views. Each view has a button to hide itself. Now, I added a button outside the views to re-add them after I hide them, but, when i remove the views and I press it, it shows me all of the three views. I want it to add one view at a time (without removing the other views). What can I do?

Terms of Service

Privacy Policy

Cookie Policy