I am working with a UINavigationController
in my app. In viewDidLoad
, the root view controller acquires information from the internet, parses it, and displays it.
When going to another view in the UINavigationController
, and then going back to the root UIViewController
, the information in the controller is not reloaded. This leads me to think that viewDidLoad
is not being called.
What method should I use to ensure this information is reloaded when the root view controller is popped back to in the UINavigationController
?
Edit:
Thanks for the quick responses guys, it means a lot. One more question regarding your answers: viewWillAppear
or viewDidAppear
? Are there pros/cons for each?