Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我通过编辑中的重构将非弧项目转换为启用ARC的项目时,删除了dealloc方法中的释放方法并将保留关键字更改为强。但是我已经在viewdidload方法中分配了合成强变量。
它会自动释放吗?
当您删除该视图集时thatObject = nil;
thatObject = nil;
它会自动释放它。
希望能帮助到你..