Domanda

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?

È stato utile?

Soluzione

Yes, you can do it

Here is another stackoverflow link :

dismissModalViewController AND pass data back

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top