I have a ViewController like below;
All of the delegates are weak, what else can it be a strong reference then ? I can't get it, and the ViewController won't dealloc that is really bad.
All of the delegates are weak, what else can it be a strong reference then ? I can't get it, and the ViewController won't dealloc that is really bad.
Copyright © 2021 Jogjafile Inc.
It's tough to know what is causing the leak without seeing all of the code which may be referring to your controller. However, Apple provides a good tool for hunting this type of problem down with Instruments. Here is a tutorial for using Instruments that may be helpful:
http://www.raywenderlich.com/2696/instruments-tutorial-for-ios-how-to-debug-memory-leaks
Here is Apple's documentation on the topic:
https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/InstrumentsUserGuide/MemoryManagementforYourApp/MemoryManagementforYourApp.html#//apple_ref/doc/uid/TP40004652-CH11-SW1