0

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?

Totumus Maximus
  • 7,543
  • 6
  • 45
  • 69

1 Answers1

3

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

Srikar Appalaraju
  • 71,928
  • 54
  • 216
  • 264
  • I found my error there and why it didn't load my VC properly. Your answer is the solution to the problem yet it didn't seemed to be in my programming structure. I adjusted it and it works properly now. – Totumus Maximus Nov 02 '11 at 10:17