Using Xcode 8 new memory debugger I found out there was a ViewController in memory that shouldn't be there and the strong reference that was pointing to it was coming from this mysterious _statusBarTintColorLockingControllers
array in UIApplication. Does anybody know where it comes from? And more importantly, how to take my VC out of it?
_statusBarTintColorLockingControllers
seems not to be the real issue here. I had the same memory graph until I resolved a retain cycle where I forgot weak
on a delegate property.
I was stuck with same problem when forgot to set some property to nil before dismiss my controller
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With