Perform an action when modalViewController is dismissed
I am trying to perform an action when a modalViewController is dismissed. The modalViewController is a view loaded from a .xib with its own viewController. When the user presses a button, I want the modalViewController to be dismissed, and in the view that presents the modalViewController (my main view) to perform an action. However, I do not know where to put this code. I have searched the documentation, but information on the presentModalViewControllerAnimated method are very sparse. Thanks for your help!
|