Note: This question is outdated—viewDidUnload is deprecated iOS 6.
When does UIViewController\'s viewDidUnload automatically get called? Yes I
viewDidUnload called in low memory conditions. We should unload stuff that we loaded in viewDidLoad method. We need to relinquish ownership of object by calling accessor method to set it to nil. In case of an outlet, the object release itself so the object reference can be set safely to nil. If not a synthesized property, then we first need to release object than we set to nil.