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

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

猜你喜欢

转载自iphonetrain.iteye.com/blog/1668974