Project with ARC. Dealloc method is called immediately after the call popViewControllerAnimated viewDidUnload method with no cause. Because of this, I have many different about this type of crash
and many other similar.
Here is the call stack method dealloc
Have any idea?
Why do you think that viewDidUnload
will be called?
As mentioned in Are viewDidUnload and dealloc always called when tearing down a UIViewController? , When is UIViewController viewDidUnload called? , viewdidunload is not getting called at all , and many other articles, it is perfectly normal for viewDidUnload
not to be called.
Why should that cause a crash? You must be doing something wrong.