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.
可能重复: 保留/强类成员变量会在卸载视图控制器时自动清理吗?
正如问题所示,当 viewDidUnload 被调用时,是否意味着视图控制器正在被释放?如果是这种情况,是否意味着在视图控制器中分配的所有成员变量(特别是强变量)都会自动释放?