memory warning and navigation controller
Hi,
I'm using a navigation controller: in the root view I've a table and when one of its entry is selected another view controller is pushed on the stack. So I've two view controller, say A (RootViewController) and B (EntryViewController). I have simulated a memory warning when B is active. This happens:
1. didReceiveMemoryWarning of B is called
2. didReceiveMemoryWarning of A is called
3. viewDidUnload of A is called
Then I tap the left button on the navigation controller (B is still visible) to come back to A. ViewDidLoad of A is called, but the navigation bar doesn't change, as in ViewDidLoad I put B view controller on the stack, 'cause when the app starts the view controlled by B has to be visible.
How can I do this only when the app starts for the first time?
Thanks,
Fran
Last edited by franium; 12-10-2010 at 01:50 PM.
|