Reputation: 7583
Alright, so I have this project with 2 ViewControllers connected with eachother with a NavigationController. When I navigate to each VC it all loads properly and my loadView method is called as proper. But when I navigate back this loadView method is not being called.
How can I make my VC do their loadView method right after I popped the VC that was on top of them?
Upvotes: 0
Views: 1058
Reputation: 73688
When the main rootViewController is called - (void)viewDidLoad
is called.
After that any other popping & pushing back to this rootViewController, try putting your methods in View did appear method - (void)viewDidAppear:(BOOL)animated
Upvotes: 3