I put NSLog(@\"%@::%@\", [[self class] description], NSStringFromSelector(_cmd));
in both viewDidLoad
and viewDidUnload
of a view controll
I imagine that in the cases where -viewDidUnload
wasn't called, the view controller was released.
You and up with 2 -viewDidLoad
calls and 1 `-viewDidUnload' call.
Maybe also put a NSLog
into the -dealloc
method and see if the number of -dealloc
and -viewDidUnload
calls combined matches the number of -viewDidLoad
calls.