I am developing an application for iPhone in which I need to send a message from topViewController to rootViewController.
One solution might be that make delegate methods in each VC in navigation stack and call accordingly so that message will reach at rootViewController. But in this scenario message has to pass through whole navigation stack.
Can any body help me on this with best approach
Thanks
One option is to access
rootViewcontrolleras,and then do the necessary operation on this object.
navigationController.viewControllersreturns all the viewControllers in the navigation stack.