loadView after popViewController

1k views Asked by At

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?

1

There are 1 answers

1
Srikar Appalaraju On BEST ANSWER

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