Hello there.
I am beginner.
I just have a switch and a text field and a button on one 1st view controller.
If I click on button, 2nd view controller pops up.
Now if I write something in text field of 1st controller and changed the switch position, and then go to view controller 2 and come back to view controller1, the text field content is gone and also switch is back to its default state,
How do I make the view controller remember its last state?
Any help would be appreciated.
Thanks
Shahab
I am beginner.
I just have a switch and a text field and a button on one 1st view controller.
If I click on button, 2nd view controller pops up.
Now if I write something in text field of 1st controller and changed the switch position, and then go to view controller 2 and come back to view controller1, the text field content is gone and also switch is back to its default state,
How do I make the view controller remember its last state?
Any help would be appreciated.
Thanks
Shahab