objective-c - 为什么我的 for 循环泄漏?

标签 objective-c ipad instruments memory-leaks

我已经通过仪器运行我的程序,它报告此代码中存在泄漏:

enter image description here

这是为什么呢?

最佳答案

这部分代码没有泄露。尝试运行分析器,它可能会告诉您泄漏了什么。

关于objective-c - 为什么我的 for 循环泄漏?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10914097/

相关文章:

iphone - 未设置 UIPresentModalViewController View alpha

iphone - 无法使用设备上的 Instruments 启动 iOS 应用程序

iOS 内存分配问题和 RIPZoneDataAlloc

ios - UIImage 和 NSData 内存泄漏

iphone - 对 NSArray 中的对象进行排序

iphone - 语义问题 : Incompatible pointer to integer conversion sending 'NSUInteger *' (aka 'unsigned int *' ) to parameter of type 'NSUInteger'

C 将标准输入重定向到键盘

iphone - 关于调用我的属性

objective-c - ScrollView 中图像之间的差距

iphone - 从 CALayers 获取位图,renderInContext 的任何替代方法