iOS如何让xcode自动检查内存泄露

在project-setting中找到 “Run Static Analyzer” 键,然后把值修改为“YES”.这样在编码的时候,xcode就可以自动为我们检查内存泄露了.

原文地址:https://www.cnblogs.com/zhwl/p/2790989.html