I am presenting a modal view controller on top of my current view controller, and I want to pass information to the view controller underneath (the hidden one) before I dismiss the controller that is covering. I am not looking for specific code so much as strategy.
Share
The simplest way to do this is to create the object as a property in your CurrentViewController and pass that object over to the ModalViewController ( This can be possibly done by creating your own init method ). Your ModalViewController can update this object as and when the User performs an action or whatever you are trying to do. Since this object was created in CurrentViewController , the data will remain valid and accessible from there once the ModalView is dismissed.