I have a main view controller with two other view controllers as member variables, representing different “tabs” within the main view. They are hidden and shown when the “tabs” are tapped. All of these are in a nib file.
When I get a memory warning, viewdidunload is called and the view is dumped, as expected. However, they are never recreated and viewdidunload is never called again. The main view controller is attached to a nav controller.
What gives?
I solved this by dumping and reloading the associated view controllers on a memory warning, but the original cause remains a mystery.
Viewdidappear is never called on the views either, I suspect this is related to whatever the explanation is.