Yes, you can do it
Here is another stackoverflow link :
Question
I want to dismiss a view controller manually using dismissViewController:animated
. The problem is I want to save a value before I dismiss the view, otherwise it becomes null
and I get no data in my first view. Does anyone have any idea how to do this?
Solution
Yes, you can do it
Here is another stackoverflow link :