Question: I'm using Swift to write an app now, In page A, I have a red button, it will switch to another view page(page B) and
I'm using Swift to write an app now,
In page A, I have a red button, it will switch to another view page(page B) and change the background color of the button to green once pressed, but I want it to keep green after I switch back to this page. How can I do that?
Thank you for helping me out.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
