Questions tagged [viewdidunload]
62 questions
0
votes
2 answers
UIPopoverController's contentViewController.viewDidUnload not getting called
When I use a UIPopoverController and give it a contentViewController, I cannot seem to get the contentViewController to correctly be deallocated (as evidenced by the fact that the contentViewController.viewDidUnload is never getting called).
Code to…

caleb
- 2,687
- 30
- 25
0
votes
2 answers
Putting stuff in my view controller's viewDidUnload doesn't have any effect
There's a UIViewController method -(void)viewDidUnload. I tried putting NSLog("unloaded"); in there to see when the view is unloaded, but nothing was printed to the console.
Where do I put my code, so that before a view unloads I can perform an…

learningKoding
- 63
- 1
- 5