HomeiOS Developmentios - What causes UIViewController to have reminiscence leaks by _externalObjectsTableForViewLoading?

ios – What causes UIViewController to have reminiscence leaks by _externalObjectsTableForViewLoading?


I’ve bought a customized UIViewController subclass that is created in a storyboard and in XCode’s Reminiscence Graph I can see that each time I enter and exit this view controller I get a brand new occasion that is by no means deallocated. I can see it has one sturdy reference chain to it, nevertheless it’s really retaining itself by a non-public API UIViewController property: _externalObjectsTableForViewLoading – this can be a dictionary that has just one worth, which is the view controller itself.

My query is what may very well be inflicting the view controller to retain itself in such a approach?

I did strive looking for any details about it, however because it’s Apple’s personal API it is onerous to search out something about this property.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments