A question about didReceiveMemoryWarning
/ viewDidUnload
.
If my app has many view controllers, one of them is shown, and the others back (because of I use a navigation controller or tab bar controller, it does not matter), which view controllers will receive didReceiveMemoryWarning
/ viewDidUnload
, all of them, only hidden, or only shown?
Is it possible that shown VC receives didReceiveMemoryWarning
but not viewDidUnload
(because as is shown, it doesn't make any sense).
By the way, I have these questions after seeing this diagram:
Thanks a lot for help.