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?

Was it helpful?

Solution

Yes, you can do it

Here is another stackoverflow link :

dismissModalViewController AND pass data back

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top