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?
Yes, you can do it
Here is another stackoverflow link :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.