0
我是新来的iOS开发,当我使用下面的代码保留计数达到3和应用程序将崩溃,减少保留计数当启用ARC模式
AsyncronousUIImage *image=[[AsyncronousUIImage alloc] init];
[image loadImageFromURL:imageURL inImageView:templateView];
image.delegate=self;
[templateScroll addSubview:templateView];
我有ARC启用模式,我正在使用xcode 4.6。
得到的错误:
的malloc:*错误对象0xa293dd0:被释放的指针没有被分配 *设置malloc_error_break断点调试
知道的任何帮助。
你可以给我发送相关的链接或示例代码,我是新的iOS开发我无法正确理解你。 – Kunal 2013-03-07 12:27:06
@Kunal Sure - 这是[ARC发布说明](http://developer.apple.com/library/ios/#releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html) – Abizern 2013-03-07 12:30:26