appdelegate dealloc 只会被调用一次?
如果我们在 Appdelegate 方法的 dealloc 中释放任何分配的变量,我会在同一个 appdelegate.m 中分配相同的变量 文件,dealloc 会处理它吗?
If we release any allocated variable in dealloc of Appdelegate method, I allocate the same in the same appdelegate.m
file, will the dealloc handle it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,每次调用dealloc时它都会处理它。一般只会一次。
Yes, it will handle it every time when will called dealloc. Generally only once.