My UINavigationController contains 3 UIViewControllers in order A -> B -> C; C is the TopViewController.
Before I pop C, I need to pass some data (that has been gathered in C) to B. How can this be done??
My UINavigationController contains 3 UIViewControllers in order A -> B -> C; C is the TopViewController.
Before I pop C, I need to pass some data (that has been gathered in C) to B. How can this be done??
There are multiple ways you could do this. One is to use delegate pattern. A good article on this can be found here. Also you may use NSNotifications to this. You can find more info on this here.