阅读背景:

查找谁对某个对象有保留计数

来源:互联网 

I have a UIViewController which has a retainCount of 3 the moment I instantiate it. That stirs me as terribly incorrect. What's the best way of figuring out who bumped up the retainCount to 3? I'd imagine instantiating the object should give the pointer 1, then I suppose maybe pushing it onto the UINavigationController's stack might bump it up one (not sure about that though?), but the third.. is a mystery. I have a UIViewController which has a retainCou




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: