Home:ALL Converter>Performing action in root view controller after dismissing modal view controller

Performing action in root view controller after dismissing modal view controller

Ask Time:2012-12-12T01:10:58         Author:user1066524

Json Formatter

If I wanted to perform some sort of action right after dismissing a modal view controller, where exactly would I put the code? I know it wouldn't be in viewDidLoad because the rootviewcontroller was already loaded into memory (because it was just temporarily hidden by the modal view) and I'm not sure about viewWillAppear or viewDidAppear because of course the view has already been loaded into memory.

Author:user1066524,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/13825084/performing-action-in-root-view-controller-after-dismissing-modal-view-controller
yy