UIImage的imageNamed是否仍会导致iOS4上的大图像内存问题? [英] Does UIImage's imageNamed still cause memory issues on iOS4 for large images?
本文介绍了UIImage的imageNamed是否仍会导致iOS4上的大图像内存问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我发现一些内存管理文章提到了 UIImage的imageNamed
,当你在内存中有很多大图像时会导致问题。
I found a couple of Memory Management articles that mentioned UIImage's imageNamed
causing problems when you have a lot of large images in memory.
http://akosma.com/ 2009/01/28 / 10-iphone-memory-management-tips /
http://www.alexcurylo.com/blog/2009/01/13/imagenamed-is-evil/
这两个都是为操作系统版本< = 3.0编写的。
Both of these were written for OS version <= 3.0.
有人知道这些在iOS 4中是否仍然存在问题?
Does anyone know if these are still a problem in iOS 4?
推荐答案
No longer a problem, see here, and maybe here.
这篇关于UIImage的imageNamed是否仍会导致iOS4上的大图像内存问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文