Call Function in Underlying ViewController as Modal View Controller is Dismissed
问题 I have a mainViewController. I call [self pushModalViewController:someViewController] which makes someViewController the active view. Now I want to call a function in mainViewController as someViewController disappears with [self dismissModalViewController]. viewDidAppear does not get called probably because the view was already there, just beneath the modal view. How does one go about calling a function in the mainViewController once the modalView dismisses itself? Thanks a lot! 回答1: This